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