cat
Shell (~bash) - OS X, Windows, Linux
Use cat
to dump the contents of a file to the screen
cat .gitignore
At least 10 times a day I’m in a shell and want to see what is in a small text file. Maybe it’s a log file, or configuration file. cat
is the easiest way to get it onto the screen.