Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Web Site. V 2.1.tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Show Filenames with Invisible Characters

When listing directories in terminal (using the ls command, for example) some file names might not be displayed correctly. This is often because there are characters in the file's name which cannot be displayed in the command line.

The file names can be shown with their character codes using the "od" command. Just pipe the output of ls to it like this...

ls -1 | od -c

Note: The end of each filename/line is shown as \n



My latest blog post: Avoid Microsoft: If you don't really like computers much you could make things a bit better for yourself. (posted 2024-12-04). My latest podcast: OJB's Podcast 2024-08-22 Stirring Up Trouble.
 ©2024 by OJBBlogMacs are BestMac Made
T: 11. H: 179,528,197
Features: RSS Feeds Feedback LogMod: 07 Jun 2024