This is my own personal shell, these are the commands that you can currently do on the shell.
- Compile with
make. - Run
./shell
Commands that work:
echols,ls -l -a,ls -l /usr/bin.pwd.cd,cd ../../,cd -,cd /home.- Input Output Redirection (ex.
ps aux > a,grep /init < a,grep /init < a > b). - Single Pipes (ex.
ls -l | grep "shell.cpp"). - Multiple Pipes (ex.
ps aux | awk '/usr/{print $1}' | sort -r). - Multiple Pipes Redirection (ex.
ps aux > test.txt,awk '{print $1$11}' < test.txt | head -10 | tr a-z A-Z | sort > output.txt,cat output.txt). exit.