Cat Command in Linux with examples

Spread the love

Cat Command in Linux –

To view the content of a file in our terminal we can use the Cat Command in Linux. This is a useful command for peeking at files without opening them, and confirming the result of other commands that change the contents of files.

In our current working directory we have a python file named fact.py. We can use the cat command to see the content of it.

cat fact.py

Rating: 1 out of 5.

Leave a Reply