This shell was written for Fall 2020 - Operating Systems course in C++.
- navigate to project folder
./ash - run
make -f makefileor simplymaketo compile the code. - run
./ash
- note that the code utilises the GNU readline library for history and reading command input.
- prompt message with current working directory
- pipelining multiple commands
- support for various built-in commands (see Built-in Commands)
- common aliases such as
ls --color=autoanddf -h - a history of recent commands
- conversion of
~/to$HOME/ - parameter passing
- inter-process communication using shared memory between shells
- batch mode and interactive mode
ctrl+Dtermination andctrl+Cabortion
helpdisplays a help screen with a list of available commandscd [path]changes directory, supports~/pwdprints workings directory in colourshidprints the shell id assigned by usersend [shid] [message]sends a message to the other terminalreceivereads all unread messages from the other terminalclearclears terminal outputhistoryprints a history of recent commandsquitleaves the terminal (with a message)