We have two commands for this:
cat takes in a file OR stdin and dumps it into stdout (i.e. prints it out)
For example just run cat myfile
This is more useful for short files. For long ones we use less
less views a text file with nice scrolling and searching functionality!
Simply call less myfile
Why is it called
less!?The old limited viewer was called
moreso the newer and better one is calledlessto call back to the proverbless is more