How Do I Display the Contents of a Linux File?

//

//

$ cat filename

The cat command (short for concatenate) shown in this example is like the DOS type command. In response to the command cat pig_info, the system simply splatters the file on the screen. If there is more data in the file than will fit on one screen, the contents whiz by before you can see it. The more command solves this problem by displaying the file screen by screen:

$ more filename

Source: http://lowfatlinux.com/linux-display-files-cat.html