Question: Create a command-interpreter that will accept a few dos-like commands but execute in the unix style using C programming 1. Like the dos environment your
Create a command-interpreter that will accept a few dos-like commands but execute in the unix style using C programming

1. Like the dos environment your prompt should be the path of the current directory. (Unix system call getcwd - find the name of the current working directory) 2. Your program should support the following DOS command. You don't have to worry aboutthe switches, but implementing switches will get extra credit. Dos Unx dir ls del copy move/renane cp mv cat cd more file mkdir type more ) should work as intended on the Unix system. 5. Unlike dos, your program should support running the process in the background using the ampersand sign (&). This means that the prompt will printed and the command-interpreter will wait for the next command before the previous commands is completely executed when & is used following the command
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
