Displaying file contents

Concatenate and display file contents:

cat file1 file2
Display the contents of several files (stopping at each page):
more file1 file2
less file1 file2 
Display the first 10 lines of a file: head -10 file
Display the last 10 lines of a file: tail -10 file
Was this answer helpful? 0 Users Found This Useful (0 Votes)