Next 14.B: The cat Command Up 14: File Utilities Prev 14: File Utilities Contents


Specialized

§ 15.A: Viewing Files with head


You may remember the tail command which we used to view the last few lines of files. The head command is similar, except that it is used to view the first few lines of a file.

Go to the prog directory and try:

Your response should look something like:

Like the use of tail, you have the option of specifing the number of lines you wish to see


Next 14.B: The cat Command Up 14: File Utilities Prev 14: File Utilities Contents