A simple shell implemented in cpp.
I've only implemented a limited subset of functionality:
cdto change directory|to pipe output of one command to another>to redirect output of one command to a file<to redirect input of one command to a file>>to append output of one command to a file&to run a command in the background. (fgto bring it back to the foreground not yet implemented)~expands to$HOMEctrl-csends SIGINT to the child processes- use
"to escape spaces in arguments - Quit with
^D.
Notable omissions:
;to run multiple commands in sequence&&and||to run commands conditionally- globbing
*and?expansion
To compile
make compileTo run
build/shell