A simple shell implemented in cpp.
I've only implemented a limited subset of functionality:
cd
to 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. (fg
to bring it back to the foreground not yet implemented)~
expands to$HOME
ctrl-c
sends 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 compile
To run
build/shell