{"id":51350,"date":"2021-09-15T02:17:50","date_gmt":"2021-09-15T02:17:50","guid":{"rendered":"https:\/\/papersspot.com\/blog\/2021\/09\/15\/you-will-develop-a-small-text-based-shell-utility-menu-in-c\/"},"modified":"2021-09-15T02:17:50","modified_gmt":"2021-09-15T02:17:50","slug":"you-will-develop-a-small-text-based-shell-utility-menu-in-c","status":"publish","type":"post","link":"https:\/\/papersspot.com\/blog\/2021\/09\/15\/you-will-develop-a-small-text-based-shell-utility-menu-in-c\/","title":{"rendered":"You will develop a small &#8220;text-based shell utility&#8221; Menu in C"},"content":{"rendered":"<p>A &#8220;menu&#8221; type shell allows a user to &#8220;pick&#8221; <br \/> an item (file or command)from a &#8220;menu&#8221;. You will display a simple menu <br \/>Your shell will read a single key &#8220;command&#8221; entered by the user, <br \/> Followed by a file or directory number (or [optionally]) partial file name with \u201cname completion\u201d and it will output some system information on the terminal, or run a program (by means of systems calls). <br \/> The commands you will implement: <br \/> Edit \u2013 opens a text editor with a file. <br \/> Run &#8211; runs an executable program. You should handle parameters. <br \/> Change \u2013 changes working directory. <br \/> Sort \u2013 sorts listing by either size or date (prompt user) <br \/>You will need to implement: <br \/>Prev, and Next Operations so that the menu fits on one screen. <br \/>Store names in an array, Only one pass through directory. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A &#8220;menu&#8221; type shell allows a user to &#8220;pick&#8221; an item (file or command)from a &#8220;menu&#8221;. You will display a simple menu Your shell will read a single key &#8220;command&#8221; entered by the user, Followed by a file or directory number (or [optionally]) partial file name with \u201cname completion\u201d and it will output some system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20],"class_list":["post-51350","post","type-post","status-publish","format-standard","hentry","category-research-paper-writing","tag-programming"],"_links":{"self":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/51350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/comments?post=51350"}],"version-history":[{"count":0,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/51350\/revisions"}],"wp:attachment":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/media?parent=51350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/categories?post=51350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/tags?post=51350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}