Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago