data stream number for standard error?
standard error = 2
append multiple error messages into one text file named error.txt?
cat “error” 2» error.txt
send error messages into one text file named error.txt?
cat “error” 2> error.txt
Goal:
1 CMD
cat 1> outout.txt 2> errors.txt
how to use cat IOT read from input.txt
cat 0< filename.txt
how to read standard output from a file
cat 0<
how to read standard output from input.txt and redirect the data into a new file named hello.txt
cat 0
how to append text from input.txt and into hello.txt.
cat 0>hello.txt
how to redirect data from a file into a terminal window with the destination address of /dev/pts/0
cat 0< “data” >/dev/pts/0