■ cat afile bfile: Prints the contents of afile to the screen followed by the contents of bfile
■ cat afile bfile > cfile: Combines the contents of afile and bfile and writes them to a new file, cfile i- : i , Linux has a sense of humor. The cat command displays files to standard output,
,-W -a ^.■i'C.'..wstarting with the first line and ending with the last. The tac command (cat spelled backward) displays files in reverse order, beginning with the last line and ending with the first. The command tac is amusing: Try it!
Was this article helpful?