Keyboard shortcuts

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

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

Read form a file