how to view the contents of a file in linux code example Example: how to show contents of a file in linux cat file_name.txt (or any other file extension)