Contact Sales Sitemap Customer Login

Linux Command Reference: tac

tac displays the contents of a file in reverse, or the concatenated contents of multiple files in reverse.


Contents

[edit]

Using tac

Usage: tac <options> <filename> <additional_file>

[edit]

tac Options


[edit]

Quickly View the Contents of a File

Enter tac <filename> where <filename> is the file which you would like to view in reverse.

Note: If the file which you are viewing is particularly long, you may press Ctrl + C at any time to halt the execution of tac.


[edit]

Help and Manual

Enter tac --help to see basic command line options and syntax or enter man tac to read the manual.


[edit]

Related Commands

Retrieved from "http://wiki.vpslink.com/Linux_Command_Reference:_tac"
Recent Changes | RSS RSS Feed