Linux tac Command

In this tutorial we learn how to use tac commmand in Linux. tac command is tac - concatenate and print files in reverse

What is Linux tac Command?

In this tutorial we learn how to use tac command in Linux. tac command is tac - concatenate and print files in reverse

tac Syntax

       tac [OPTION]... [FILE]...

tac Examples

tac Command Manual / Help

We can use man and info command to see the manual page of tac command.

tac command also have --help option to show list of options.

To open man page for tac command we can use command below. To exit man or info page you can press q.

man tac

To open info page for tac command we can use command below.

info tac

To open help page from tac command we can run command below.

tac --help

Linux tac Command Source Code

You can find tac command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use tac in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.