January 2001
Intermediate to advanced
480 pages
7h 22m
English
The Korn shell provides a number of operators that can be used to manipulate command input/output, files, and co-processes.
| <file | redirect standard input from file |
| >file | redirect standard output to file. Create file if non-existent, else overwrite. |
| >>file | append standard output to file. Create file if non-existent. |
| >|file | redirect standard output to file. Create file if non-existent, else overwrite even if noclobber is set. |
| <>file | open file for reading & writing as standard input |
| <&– | close standard input |
| >&– | close standard output |
| <&n | redirect standard input from file descriptor n |
| >&n | redirect standard output to file descriptor n |
| n<file | redirect file descriptor n from file |
| n>file | redirect file ... |
Read now
Unlock full access