โ† TCS questions

UNIX commands overview: grep, cat, and tac

Filed under TCS

The question

Explain the working of the grep command and its variants, as well as the functionality and differences between cat and tac commands in UNIX.

No write-up yet. Related questions below have one.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.