If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Send standard output (which is file descriptor 1 by default) to file2.
Read standard input (which is file descriptor 0 by default) from file1.
These conditions are now set for the following 'cat' command, so cat reads standard input from file1 and sends its output to file2.
The results is the contents of file1 are 'copied' to file2.