File Viewing
|
|
View files in their entirety. |
less
|
View text files one page at a time. |
head
|
View the first lines of a text file. |
tail
|
View the last lines of a text file. |
nl
|
View text files with their lines numbered. |
strings
|
Display text that’s embedded in a binary file. |
od
|
View data in octal (or other formats). |
xxd
|
View data in hexadecimal. |
acroread
|
View PDF files. |
gv
|
View PostScript or PDF files. |
xdvi
|
View TeX DVI files. |
In Linux, you’ll encounter various types of files to view: plain text, PostScript, binary data, and more. Here we’ll explain how to view them. Note that commands for viewing graphics files are covered in Graphics and Screensavers, and video files in Video.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access