# Quickly View File Contents

Often we want to quickly take a peek at a file’s contents without opening the file in an editor program. The cat command makes this easy.

## Create A Text File With Some Contents

echo 'Here is some text content inside of the file.' > example_file.txt

## View Contents Of Text File

cat example_file.txt
Here is some text content inside of the file.


## View Contents Of Text File With Line Numbers

cat -n example_file.txt
     1	Here is some text content inside of the file.