As soon as you start working on the Linux command line, you have to start working with files. Linux follows a very powerful design philosophy expressed as everything is a file. This can take some getting used to, but is incredibly useful once you get it. Because once you’ve learned how to read and manipulate text files, you can do pretty much anything on your machine.
The first command you need to know is
cat. Cat is short for ‘concatenate’, and is used for writing text to and from files. So if I have a file in my current working directory, I can get its contents with cat: