Concatenate Files
As you read the section on the cat
command, please note that our primary usage of this command in this class is to display the content of a file. It does a whole lot more, but we won't worry about that right now.
The cat
command has similar results to the less
command. It allows us to view the contents of a file. Try the following commands to see the difference.
less /etc/passwd
cat /etc/passwd