CS201 - System Programming: Shell Implementation Assignment
VerifiedAdded on Ā 2019/09/16
|2
|839
|175
Homework Assignment
AI Summary
This assignment focuses on system programming and requires the implementation of a text-based shell. The solution involves creating a shell that can execute commands, fork child processes using `fork()` and `execvp()` in Linux, or using equivalent methods in Windows or Java. The assignment includes implementing the `cd` built-in command, enabling background job execution using '&', implementing a history command to display the last 10 commands, and supporting pipes using the '|' symbol to redirect output. The student is required to submit source code files and a readme file detailing compilation and sample output. An extra credit exercise involves supporting multiple commands separated by ';'. The shell implementation covers core concepts in operating systems such as process management, input/output redirection, and command parsing.
1 out of 2