cat -A file.txt

Category: File Viewing & Editing

cat -A file.txt

Show all characters including tabs (^I) and line ends ($)

Shows all invisible characters: tabs appear as ^I and line endings appear as $ so you can see exactly what's in the file.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.