Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: 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



I usually write a blog post about once a week. The latest post can be viewed here: Deontology vs Consequentialism: If we have free speech, personal freedom, equality, and truthfulness we are off to a pretty good start. (posted 2025-10-20 at 17:08:06).
Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59

Warning: mysqli_connect(): Error while reading greeting packet. PID=83518 in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59

Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59

Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 60
Could not connect to MySQL: