Apply UNIX\'s fork() and other system calls to write a C program with the following functions: a) Implement the basic functions of Shell, including: print prompt; accept and analyze command lines (filter invalid spaces, tabs, and newlines, etc.); execute commands (with error handling; enter exit or bye to exit); return to the parent process; b) Process background programs (no wait required) c) Process multi-line commands (analyze the \' \' in the command line and process it) d) Apply dup() and pipe() system calls to have input and output redirection and pipe functions;
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore