问题描述
我只是想知道为什么。我知道它只有linux devs才知道。但是为什么usr / bin / X11有太多的符号链接。如果我输入命令cd usr / bin,那么使用'tab',它会显示X11,它将继续到子目录X11(内部和内部等等),直到说出第40个子目录。当我在第40个子目录中,然后转到X11并再次点击选项卡X11 / X11 / X11等等到40。当我在这里按进入时,我被重定向到usr / bin本身。这是什么样的行为,为什么? X Window系统用于在/ usr / bin / X11中存储其可执行文件。它们后来被合并到 / usr / bin /
中。旧位置符号链接到新位置以保留向后兼容性。
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?
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.
这篇关于usr / bin / X11具有太多递归的符号链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!