Skip to main content

9.4) Redirection (cont'd)


cat file1 file2 > file10

Now the results will not appear on the screen but will be stored in a new file that I chose to be named ‘file10’. The redirection automatically makes the file called ‘file10’ so you don’t have to make it with an editor or anything. You can check what is inside ‘file10’ in various ways. You can look at it using an editor such as emacs or vi, or you can use the Unix command more or you can cat the ‘file10’ and see what appears on the screen.