oreilly.comSafari Books Online.Conferences.


Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.


zmore [files]

Similar to more. Uncompress files and print them one screenful at a time. Works on files compressed with compress, gzip, or pack, and with uncompressed files.



Print next screenful.


Print next i lines.


Print one more line.

d, ^D

Print next i, or 11, lines.


Print next i lines or a screenful. If i is specified, treat it as the new window size for the rest of the current file, then revert back to the default.


Skip i lines. Print next screenful.


Skip i screens. Print next screenful.

q, Q, :q, :Q

Go to next file or, if current file is the last, exit zmore.

e, q

Exit zmore when the prompt "--More--(Next file: file)" is displayed.


Skip next file and continue when the prompt "--More--(Next file: file)" is displayed.


Print line number.


Search forward for ith occurrence (in all files) of expr, which should be a regular expression. Display occurrence, including the two previous lines of context.


Search forward for the ith occurrence of the last regular expression searched for.


Execute command in shell. If command is not specified, execute last shell command. To invoke a shell without passing it a command, enter \!.


Repeat the previous command.

Linux Resources
  • Linux Online
  • The Linux FAQ
  • Linux Kernel Archives
  • Kernel Traffic

  • Sponsored by: