Implementation of a very basic shell
-
Built-in commands
exit
: ends shell sessioncd [path]
: changes directoryhistory
: displays history of commandskill [pid]
: terminates processjobs
: lists currently running jobshelp
: Displays all commands
-
Run jobs in foreground or background(&)
gcc shell.c -lreadline -o shell
./shell