rshell is a C++ application that simulates a terminal's shell. It executes commands, creates, overrides, and deletes files, and even runs programs, as if you are still using your terminal!
Note: If you are using Ubuntu, you may need to install the GNU C++ compiler package in order to generate the executable. There are two known ways to do this:
-
Type in your terminal:
sudo get-apt install g++ -
Find the package under your OS version from this link. Then download it and follow the instructions on installation.
Running this software requires only 5 steps using your terminal:
git clone https://github.com/aesgu001/rshell.git
cd rshell
git checkout hw0
make
bin/rshell
-
Entering
bin/rshellin the shell simulator runs a duplication of the application. Returning to the bash shell would require you to enterexitexactly the number of times you enter the previous command. -
The
echocommand will include quotation marks when printing quoted arguments. It cannot send text to a new or existing file using the>character, either. -
Connectors entered first will not return a syntax error.
-
The
cdcommand will not be executed successfully. -
The
git commit -m <message>command will not be executed successfully.