usr/bin/X11 has too many recursive symbolic link

2019-08-12 01:28发布

问题:

I just want to know why. I know its known only to linux devs. But why usr/bin/X11 has too many symbolic links. If I type in command cd usr/bin then use 'tab', it shows X11 and it goes on to subdirectory X11 (inside and inside and so on) until say 40th subdir. And when I'm in 40th subdir and go to X11 and tap 'tab' again X11/X11/X11 and so on upto 40th. When I press 'enter' here, I've been redirected to usr/bin itself. What sort of behaviour is this and why?

回答1:

The X Window System used to store its executables in /usr/bin/X11. They were later consolidated into /usr/bin/. The old location is symlinked to the new location to retain backwards compatibility.