The Shell or Command Line Interpreter is the fundamental User interface to an Operating System. Your task is to write a simple shell - myshell - that has the following properties: Tasks:The shell...

The Shell or Command Line Interpreter is the fundamental User interface to an Operating System. Your task is to write a simple shell - myshell - that has the following properties: Tasks: The shell must support the following internal commands: i. cd - Change the current default directory to . If the argument is not present, report the current directory. If the directory does not exist an appropriate error should be reported. This command should also change the PWD environment variable. ii. cls - Clear the screen. iii. dir - List the contents of directory page by page. iv. xcopy to - Copy the folder to . v. print - Display on the display followed by a new line (multiple spaces/tabs may be reduced to a single space). vi. md - Create the folder . vii. rd - Remove the folder if the folder is empty, should display error message if it is not. ix. quit - Quit the shell. x. The shell environment should contain shell=/myshell where /myshell is the full path for the shell executable (not a hardwired path back to your directory, but the one from which it was executed).

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here