tac do?concatenate and print files in reverse — last line first.
▸ Explain your own tac command →$ tac log.txt
$ tac -s, data.csv
| -s | use this string as the line separator instead of newline |
| -r | treat the separator as a regular expression |
| -b | attach the separator before, rather than after, each line |
| --separator | use this string as the line separator instead of newline |
| --before | attach the separator before each line |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.