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




Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 11

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

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

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