Implemented Command shell using OS system calls to execute built-in Linux commands
Command Shell supports following things ->
-
Shell run an infinite loop (which will only exit with the ‘exit’ command) and interactively process user commands. The shell print a prompt that indicate the current working directory followed by ‘$’ character
-
Shell should support ‘cd’ command
-
An incorrect command format prints an error message ‘Shell: Incorrect command’
-
Shell supports multiple command execution either sequentially or in parallel. The commands separated by ‘&&’ is executed in parallel and the commands separated by ‘##’ is executed sequentially
-
Shell supports redirect STDOUT for '>' symbol