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 Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted