TAC(1)
β¨ TAC(1) β the General Commands Manual glow-up β¨
okay bestie, pull up a chair because tac is about to become your new fave π«Ά it lives in the General Commands Manual section, and tbh it's giving "reverse uno card for your files" β no cap.
πΈ NAME πΈ
tac β write each file to standard output, last line first. π
π¦ SYNOPSIS π¦
tac [OPTION]... [FILE]...
π DESCRIPTION π
Write each file to standard output, last line first. That's it, that's the whole vibe. It's cat but walking backwards down the runway, main character energy, flipping the whole script. iconic. β¨
π OPTIONS π
-b,--beforeβ attach the separator before instead of after. little pre-game separator moment π-r,--regexβ interpret the sequence as a regular expression. fancy mode activated, she's doing pattern math now π₯-s,--separator<STRING>β useSTRINGas the separator instead of newline. you pick the divider, she respects it π-h,--helpβ print help. your bestie explaining herself π-V,--versionβ print version. the "who am i" moment π
β VERSION β
v(uutils coreutils) 0.12.0
π EXAMPLES π
Concatenate specific files in reversed order:
tac path/to/file1 path/to/file2 ...
Display stdin in reversed order:
cat path/to/file | tac
Use a specific separator:
tac [-s|--separator] separator path/to/file1 path/to/file2 ...
Use a specific regex as a separator:
tac [-r|--regex] [-s|--separator] separator path/to/file1 path/to/file2
...
Use a separator before each file:
tac [-b|--before] path/to/file1 path/to/file2 ...
The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. π (yes bestie, it's still cooking β we're not done yet, stay tuned fr fr)
and that's the whole page, periodt π this lil masterpiece is served up by uutils coreutils, version 0.12.0, dated 2026-09-25 β screenshot it, cite it, frame it, it's basically a museum piece now πΌοΈβ¨ mwah, go reverse some lines bestie π«ΆπΈ
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms