Equal sign at the end of the file name

I had a problem with mysql and I went looking for my mysql socket file, but it has an equal sign added to the end when ls -lA in the directory. I am using Mac OS X 10.6.8.

 srwxrwxrwx 1 _mysql wheel 0 Jul 23 10:08 mysql.sock= 

When I cat it with the same sign of it a no go, so it is not part of the name ...

 cat: mysql.sock=: No such file or directory 

What's going on here? I can find a lot of information about the string * and @ being added, but not =

I think I should note that when I have a cat without an equal sign, it works.

It helped me understand what the beginning of s means (it means "socket").

+6
source share
1 answer

All Articles