Question: Shell script on ubuntu that satisfies the criteria The Shell or Command Line Interpreter is the fundamental User interface to an Operating System. Your first

Shell script on ubuntu that satisfies the criteriaShell script on ubuntu that satisfies the criteria The Shell or Command

The Shell or Command Line Interpreter is the fundamental User interface to an Operating System. Your first project is to write a simple shell, as you learnt in all previous labs - 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. ii. dir - List the contents of directory v. print - Display - 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). iv

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!