today-i-learnt

Display all characters in file with cat

Category shell
Added on 2026-07-06
Source source

-A/--show-all is equivalent to -vET:

-E, --show-ends
    display $ or ^M$ at end of each line
-T, --show-tabs
    display TAB characters as ^I
-v, --show-nonprinting
    use ^ and M- notation, except for LFD and TAB
$ # Show file with hidden chars
$ cat -A file