The cat command is useful for displaying short files of a few lines. To display longer files use an editor or pager.
To display the contents of a file use the command:
cat filename