Comments on Linux tac Command Tutorial for Beginners (with Examples)

We've already discussed the Linux cat command in one of our earlier tutorials. As you may be aware, the cat command is mainly used for displaying file contents in output. However, what you may not be aware of is that there exists a command that does exactly opposite of what cat does. The tool in question is tac, and in this tutorial, we will discuss its basics using some easy to understand examples.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Emre

good article. thanks

By: Warren

That's just outputting the file backwards.  To do the opposite of 'cat', a program would have to either copy files to stdin or undo something previously output to stdout.