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: We Need Trump and Musk: I wonder if Trump and Musk might like to visit here after they have finished sorting out America! (posted 2025-02-11). My latest podcast: OJB's Podcast 2025-01-30 Pragmatic Libertarianism.
 ©2024 by OJBBlogMS Free ZoneMac Made
T: 11. H: 320,939,830
Features: RSS Feeds Feedback LogMod: 07 Jun 2024