# cat file1view the contents of a file starting from the first row [man]
# head -2 file1view first two lines of a file [man]
# less file1similar to 'more' command but which allows backward movement in the file as well as forward movement [man]
# more file1view content of a file along [man]
# tac file1view the contents of a file starting from the last line [man]
# tail -2 file1view last two lines of a file [man]
# tail -f /var/log/messagesview in real time what is added to a file [man]