tldr/pages/common/tac.md

12 lines
237 B
Markdown
Raw Normal View History

2015-12-28 21:01:39 +00:00
# tac
> Print and concatenate files in reverse.
- Print the contents of *file1* reversed to the standard output:
2015-12-28 21:01:39 +00:00
`tac {{file1}}`
- Concatenate several files reversed into the target file:
2015-12-28 21:01:39 +00:00
`tac {{file1}} {{file2}} > {{target_file}}`