A simple Unix shell.
- External programs can be executed in the background
<command> &
will execute the given command in the background
- Shell builtins
exit
will exit the shell sessionpwd
will print the current working directorycd <directory>
will change the current working directory to the given directoryhistory
will print the command history- The command history can also be printed by pressing Control-C
- Command history
- Remembers only the last 10 commands of the current shell session
- History expansion
!n
will execute the nth command in the command history!!
will execute the previous command
- GNU make
- C99 compiler (Makefile uses
gcc
by default) - Unix-like environment (Linux, FreeBSD, Cygwin, etc.)
Clone into shell directory.
$ git clone --branch develop <url/to/shell.git>
Build.
$ cd shell
$ make
Run.
$ ./shell