1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 07:18:29 +01:00
tldr/pages/common/tac.md

12 lines
237 B
Markdown
Raw Normal View History

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