In informatics, a shell is an application that receives and interprets commands, like the BASH, ZSH or CSH.
In this project, we created the nanoShell shell application that should be able to:
- Execute an application with multiple input parameters
- Capture signal sent for the nanoShell
- Support standard output redirects (> and >>) and standard errors (2> e 2>>)
- Show a help summary
- Comment every function.
- Meaningful variable/function names
- Todo Tree
- GDB Debugger - Beyond
- André Azevedo - 2182634
- Alexandre Santos - 2181593
Advanced Programming - ESTG - IPL - 2020/2021
-
run the following commands in the project directory
make
-
Then one of the following options:
./nanoShell
./nanoShell -f help.txt
./nanoShell -m 5
./nanoShell -h
./nanoShell -s signal.txt
-
Use simple commands without metachars and pipes and ' ". Ex:
ps aux -l
ls
gcc -v
-
Use
bye
command to exit nanoShell