11

Tip #187   View non-printing characters with cat

You can view unprintable and non ASCII characters in a file with 'cat -v -t -e'

Example:

$ cat myfile
Hello,  World!    
$ cat -v -t -e myfile 
Hello, ^IWorld!    $


In this file there is a tab between the two words and 4 spaces at the end of the line that would not have been visible with a plain cat.