- Built-in commands:
cd [path]echo [string]ls [-al] [dirs]pinfo [pid]pwdrepeat [n] [command]
- Foreground and Background processes
- External programs
$ make
$ ./nutshell- The REPL is in the
nutshell.cfile - Builtin commands have their separate files with the same name. (
pwdis exception, with filegetcwd.c) builtins.cis for modular one-stop handling of the builtin commandsconstants.hstores all the constant headers for the shellexecution.cexecutes a command given in the string or tokenised formincludes.his the common template of headersprompt.ccontains functionality to generate the shell prompttypes.his for data structures used internally in the shellutils.cprovides convenience functions, such as string manipulations