Project 1 Test Cases For Grading NAME: TOTAL POINTS: 1. 7. 13. 2. 8. 3. 9. 4. 10. 5. 11. 6. 12. 1. echo -- I/O redirection -- (15 pts) ls > out cat out cat < out ls /none 2> err cat err ls > out1 > out2 2. echo -- Pipes -- (15 pts) cat command.cc | grep malloc cat command.cc | grep malloc | grep char cat command.cc | grep malloc > out cat out cat command.cc | ls nonexisting 2> err cat err 3. echo -- Background -- ( 5 pts ) ls /etc & 4. echo -- Zombie processes -- (5 pts) ls & ls & ls & ls & ps -al 5. echo -- Environment -- (10 pts) setenv aaa bbbb printenv aaa printenv printenv | grep PATH setenv aaa pppp printenv unsetenv aaa printenv aaa 6. echo -- Cd -- ( 10 pts ) pwd cd /etc pwd cd pwd cd (back to orgiginal shell dir) pwd cd notfound pwd cd notfound 2> err cat err pwd 7. echo --- Wildcard Matching --- ( 20 pts.) echo * echo /usr/lib/* echo /usr/lib/libt* echo /usr/lib/*ck* cd echo * echo .* echo /etc/r*/*s* echo /usr/lib/lib?.a 8. echo -- Quotes --- ( 3 pts ) cd (back to original shell dir) echo lll ">" ls command.cc Makefile ls "command.cc Makefile" mkdir "hello world" ls 9. echo -- Escape character -- ( 2 pts. ) echo lll\< kkkk\\ uuuu\& 10. echo -- Ctrl-C -- ( 3 pts ) ctrl-c 11. echo --- robustness ( 10 pts ) 12. echo --- Redirection to shell ( 2 pts ) exit echo ls -al > in shell < in 13. echo --- Extra Credits ----