//View Tip #187
Similar Tips
» Filter stderr for cron jobs
» Moved Trac and Subversion repositories to another machine/direct
» Add header/footer to command output
» Zero files
» Hide files in an image


Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
You can view unprintable and non ASCII characters in a file with 'cat -v -t -e'


$ 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.

View Comments »


Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit