subject

Write a c program that will simulate a terminal shell. the program should have the name chshell. exe.
when the program starts it should show a prompt and wait for input from the user.
if the user presses enter it should go to the next line and show the prompt again. if the user types the word exit then the program will terminate.
for example:
> chsh. exe
chsh#
chsh#exit
>

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Our primary purpouse as electricians is to do wich of the following core concepts? a: install electrical components in a way they can be upgraded b: install electrical equiptment in a way that reduces heat c: install electrical systems in a safe manner d: only b and c
Answers: 1
question
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
question
Computers and Technology, 22.06.2019 16:30
Primary tech skills are skills that are necessary for success in online education
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
The two main ways in which marketers address the competition with their strategies are by satisfying a need better than a competition and by
Answers: 2
You know the right answer?
Write a c program that will simulate a terminal shell. the program should have the name chshell. exe...
Questions
question
Mathematics, 14.04.2021 18:00
question
Mathematics, 14.04.2021 18:00
question
Biology, 14.04.2021 18:00
question
Mathematics, 14.04.2021 18:10
Questions on the website: 13722362