Documentation

tac – concatenate and print files in reverse

The GNU Core Utilities or coreutils is a package of software containing implementations for many of the basic tools, such as cat, ls, and rm, which are used on Unix-like operating systems.

One of the other utilities included with coreutils is tac. It concatenates and prints files in reverse.

tac is the reverse of cat.

We can pipe the output of tac to tac to reproduce what cat does. $ tac / file | tac

This is free and open source software.

Website: www.gnu.org/software/coreutils
Support:
Developer: Free Software Foundation, Inc
License: GNU General Public License v3.0

Man page for tac

tac is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Alternatives to cat
batSuper charged cat - Features in our Top 100 CLI Apps
mdcatSophisticated Markdown rendering for the terminal - Features in our Top 100 TUI Apps
grcatFrontend for generic colouriser grc
tacConcatenate and print files in reverse
ccatColorizing cat
seeCute cat replacement
lolcatAdd some zest to the cat command. Features in our Linux Candy series
katcat command that almost tastes like chocolate
meowRenders text using your existing Neovim configuration
mcatExtended cat command
batdoccat for Office documents and PDFs
umberDesigned to replace cat for reading source code and other text files
rucatAimed at developers and system administrators
peekMulti-buffer terminal pager
Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted