|
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, --before |
attach the separator before
instead of after |
| -r, --regex |
interpret the separator as a
regular expression |
| -s, --seperator=STRING |
use STRING as the separator
instead of newline |
| --help |
display this help and exit |
| --version |
output 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
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|