Why do I get a "?" mark at the end of a symlink sometimes?
E.g.
lrwxrwxrwx 2 root root 0 1969-12-31 19:00 xyz -> abc?
linuxsymlink
Why do I get a "?" mark at the end of a symlink sometimes?
E.g.
lrwxrwxrwx 2 root root 0 1969-12-31 19:00 xyz -> abc?
Best Answer
More than likely there's a stray non-printing character at the end of the filename. Use
ls -lb
to show the character.