First page Back Continue Last page Overview Graphics
Stream Redirection
Normally commands expect to receive input from the keyboard and/or send output to the screen.
Special redirection symbols can override this.
- E.g. ls > files.txt [send listing to file]
- mail dcr < hwk [mail file to user dcr]
- ls -l | more [pause listing by screenfuls]
There are many other examples: see handout.
WARNING: the syntax is very shell dependent!
Notes: