Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

tac

Display file content in reverse

Syntax

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

Common Options

-bAttach separator before
-rUse regex separator
-sSpecify separator

Common Examples

tac file.txt

Show file in reverse

tac file1.txt file2.txt

Show multiple files in reverse

tac -s "," file.csv

Reverse with comma separator

Related Commands

Related Tools

More Code & Dev Tools