What other cat command options exist?

0122

Here are some additional options for the cat command:

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

These options can help you manipulate and view text files more effectively. Let me know if you need examples or further details!

0 Comments

no data
Be the first to share your comment!