subject

You will write a program named myshell that is capable of executing user's commands. Your program should print out a prompt: myshell> when it is ready to accept input. It must read a line of input, accepting several possible operations. This is a very simple shell, so it only accepts two operations: run and exit. 1. The run operation will execute other programs specified by the users. For example: run ls will execute ls. run ls -l will execute ls -l run date will execute date run who will execute who If user provides an unknown program, the shell should print out an error message. run azzxcd will try to execute azzxcd but will fail. m

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What is the first step in creating a maintenance ?
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Scientists have changed the model of the atom as they have gathered new evidence. one of the atomic models is shown below. what experimental evidence led to the development of this atomic model from the one before it? a few of the positive particles aimed at a gold foil seemed to bounce back. the colors of light emitted from heated atoms had very specific energies. experiments with water vapor showed that elements combine in specific proportions. cathode rays were bent in the same way whenever a magnet was brought near them.
Answers: 2
You know the right answer?
You will write a program named myshell that is capable of executing user's commands. Your program sh...
Questions
question
Chemistry, 16.07.2019 03:40
question
History, 16.07.2019 03:40
question
Mathematics, 16.07.2019 03:40
question
Biology, 16.07.2019 03:40
Questions on the website: 13722359