| Function
| Points |
Example |
| Commands with no arguments |
10 |
pwd |
| Commands with one or more arguments |
5 |
ls -l /boot |
| Commands with output redirection to a new file |
5 |
ls -l > file |
| Commands with output redirection to an existing file |
5 |
ls -l >> file |
| Commands with input redirection |
10 |
wc < /etc/passwd |
| Pipe operator |
15 |
date | grep Tue |
| Support the & operator |
10 |
wc file & |
| Display the last 10 commands |
5 |
history |
| Display a previous command |
5 |
!d, !! |
| Quit from the shell program |
10 |
exit |
| Recognize an absolute pathname |
5 |
/bin/ls |
| Report an error if command not found |
5 |
ERROR:*** |
| Accept an empty line |
5 |
|
| Design description & comment |
5 |
|
| Total |
100 |
|
| All combinations of special characters |
+15 |
sort < data1 > data2 dmesg | grep dev | wc -l |