- This is a simple unix command interpreter that imitates the sh shell.
- It was compiled on Ubuntu 22.04.2 LTS.
- Displays a prompt and interpretes user commands.
- Executes user command entered using the full directory path, e.g
/bin/ls. - Handles command lines with arguments.
- Handles the PATH of executeables, e.g
lsusing the PATH environmental variable. - Handles the
EOF(ctrl-D) andexitbuilt-in that exits the shell. - Executes the
envbuilt-in that prints the current environment. - Handles the
cdfunctionality to change current working directory.
NOTE: Some features like handling special characters (",',`,,,&,#), handling logical operators, alias builtin command, and variable replacement were not implemented.
git clone https://github.com/Mr-Michael-dev/simple_shell.gitclone this repo into your terminalcd simple_shellnavigate into the /simple_shell repo.mv hsh ../move the hsh executeable into the home directory (you can aswell run in the simple_shell directory)../hshrun the shell and impute your commands.
We welcome any feedback, suggestions, or bug reports related to our shell.