UNIX - Shell Special Symbols
symbol | description |
---|---|
; | separate a sequence of commands > cd ; ls |
| | "pipe" - connects stdout of one program to stdin of another > cat /etc/passwd | wc -l |
<> | file redirection:
If file > cat /etc/passwd > foo.txt > ls foo.txt > wc -l < foo.txt 218 |
$? | gives value "returned" by the last shell program run |
& | run program in the background |
, multiple selections available,