- simply type
make
- run with
./crash
- assign prompt if passed in
- leave default if not
- print error if flag is used, but with no prompt
- accept user input
- parse commands and flags
- program commands (using
execvp()
) - notify user if command is not found
- print pid of command when spawned, including name of command
- wait for child to exit by default
- when a child process exits, print out the pid and exit status // possible segfault
- backgrounding tasks
-
exit
-
pid
-
ppid
-
cd
-
cd <dir>
-
pwd
- jobs command
- get env vars
- set env vars
- file redirects
- pipes