Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Site. v2.4.L: tip189 tips mac owen2 
Tip

Discuss   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: Think for Yourself: In the end, everything is just an opinion. Be skeptical, and think for yourself! (posted 2026-04-25).

My latest podcast: OJB's Podcast 2026-04-14 How Far is that Star?

If you're not sure what to view from my site, here are some suggestions: My Latest Airshow Report, My Favourite Wines and Beers, An Interesting Astronomical Observation, See Some Photos, Read Some Mac Tips.


Site News (Mobile): OJB's web site, v 2.4 which has major changes, and possibly errors! Please report anything to ojb@mac.com.