A small shell implementation. Features include:
- A prompt
- Blank lines and comments
- Variable expansion of
$$
into the current process ID - Built-in
exit
,cd
, andstatus
functions - I/O redirection
- Foreground and background processes
- Custom handlers for
SIGINT
andSIGTSTP
gcc --std=gnu99 -g -o small-shell small-shell.c