What are common `cat` options?

060

Common cat options include:

  • -A: Show all non-printing characters (equivalent to -vET).
  • -b: Number non-blank output lines.
  • -E: Display a $ at the end of each line.
  • -n: Number all output lines.
  • -s: Suppress repeated empty output lines.
  • -T: Display TAB characters as ^I.
  • -v: Use ^ and M- notation for non-printing characters, except for line feed (LF) and TAB.

These options help in managing and manipulating text files effectively in Linux environments.

0 Comments

no data
Be the first to share your comment!