Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix tac command

Quick links

About tac
Syntax
Examples
Related commands
Linux / Unix main page

About tac

Concatenate and print files in reverse.

Syntax

tac [OPTION]... [FILE]...

-b, --beforeattach the separator before instead of after
-r, --regexinterpret the separator as a regular expression
-s, --seperator=STRINGuse STRING as the separator instead of newline
--helpdisplay this help and exit
--versionoutput version information and exit

Examples

tac file1.txt > file2.txt

Reverses the data in file1.txt and outputs the results into file2.txt.

Related commands

cat

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope