1
When I SSH into a Linux server via iTerm on OS X, running a PHP script, there are some strange characters printed on the screen
What is this ^@
representing? These characters are not generated through the script, as you can see, they don't appear on every line.
1Have you entered anything on your Mac while or before the script was executing? What is the script outputting? Do these characters appear for other scripts as well? Do you see these characters when logging in from another terminal or computer? – slhck – 2012-04-17T10:41:58.663
I connected to the server via iTerm, I guess is nothing to do with the Mac. – ajreal – 2012-04-17T10:44:46.357
1
from this question, http://superuser.com/questions/75130/how-to-remove-ths-symbol-with-vim suggesting
– ajreal – 2012-04-17T10:49:43.493^@
is a null characterYes, it is caret notation for the null character, but the question is why it even shows up. Do you get it for other scripts as well? Or when using another machine to connect to? – slhck – 2012-04-17T10:54:03.373
tail -f
sometime might return this null character. It did appear in other scripts. Did not try on other machine. But ssh into another linux will return same null character. – ajreal – 2012-04-17T11:09:43.593