RSH (Rami Shell) is a simple UNIX shell that supports basic command-line functionalities including executing commands with arguments, handling environment and shell variables, pipes, simple history management, and a set of built-in commands.
- Piping
- Enivornment & Shell Variables
- Built-in Commands: exit, cd, export, local, vars, & history
- History Management
- Command Execution
- Interactive & Batch Modes
Simply run ./rsh
after compiling the c file. Then start typing your commands!
Run ./rsh script.rsh
where the script.rsh
is a file that contains a list of commands that you intend to run in batch mode.
- For setting local variables
local MYSHELLVARNAME=somevalue
- For setting enviornment variables
export MYENVVARNAME=somevalue