Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 commandStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started