diff --git a/pages/common/tac.md b/pages/common/tac.md new file mode 100644 index 000000000..b89ebca45 --- /dev/null +++ b/pages/common/tac.md @@ -0,0 +1,11 @@ +# tac + +> Print and concatenate files in reverse. + +- Print the contents of *file1* reversed to the standard output + +`tac {{file1}}` + +- Concatenate several files reversed into the target file. + +`tac {{file1}} {{file2}} > {{target-file}}`