Common File redirection commands
- Command> filename redirects the standard output to a new file
- Command» filename redirects the standard output to a file (append)
- Command 1> fielname redirects standard output to a file
- Command> filename 2> & 1 redirects the standard output and standard error to a file.
- Command 2> filename redirects a standard error to a file
- Command 2» filename redirects the standard output to a file (append)
- Command» filename 2> & 1 redirects the standard output and standard error to a file (append)
- The command <FILENAME> filename2 command uses the filename file as the standard input, and the filename2 file as the standard output.
- Command <FILENAME command uses the filename file as the standard input
- Command «delimiter reads data from the standard input clock, knowing that the delimiter Delimiter is encountered.
- Command <& M uses the file descriptor m as the standard input
- Command> & M redirects standard output to file descriptor m
- Command <&-Disable Standard Input
Common File redirection commands