Simple linux shell written in C++. Created as a university project for Operating Systems course. You can study project_definition.pdf for more details.
- Support basic commands like
exit
,ls
,cd
andcat
. - Piping implemented (
<cmd1> | <cmd2>
) viapipe
anddup2
syscalls. Multiple piping is allowed. - Aliasing and unaliasing are supported like
alias ll=ls -lah
andunalias ll
. - Batch mode is supported using the command
fshell somefile
. - Program invocation with forking and child processes.
- By pressing Ctrl+C a new prompt will be printed and ready for getting new commands.
Navigate to the project location.
make
A file named main
will be created. Execute it using the following command.
./main