Skip to Main Content
Linux Pocket Guide
book

Linux Pocket Guide

by Daniel J. Barrett
February 2004
Beginner content levelBeginner
200 pages
5h 40m
English
O'Reilly Media, Inc.
Content preview from Linux Pocket Guide

File Viewing

cat

View files in their entirety

less

View files one page at a time

head

View the first lines of a file

tail

View the last lines of a file

nl

View files with their lines numbered

od

View data in octal (or other formats)

xxd

View data in hexadecimal

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 audio files in Audio and 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.
Start your free trial

You might also like

Linux Pocket Guide, 2nd Edition

Linux Pocket Guide, 2nd Edition

Daniel J. Barrett
Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins

Publisher Resources

ISBN: 9780596806347Errata Page