Linux Command Directory
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.
tac [options] [file]
Named for the common command cat, tac prints files in reverse to standard output. Without a filename or with -, it reads from standard input. By default, tac reverses the order of the lines, printing the last line first.
Print separator (by default a newline) before the string it delimits.
Expect separator to be a regular expression.
Specify alternate separator (default is newline).
Print a help message and then exit.
Print version information and then exit.