Inspecting the content of a file
In the previous lesson, we learnt about writing content to a file but what if we want to view the file content?
The cat command takes the file name as an argument and displays its content.
cat info.txt

Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
In the previous lesson, we learnt about writing content to a file but what if we want to view the file content?
The cat command takes the file name as an argument and displays its content.
cat info.txt
