Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using the command:

install ./prog /usr/bin

to copy the program to the /usr/bin directory. Doing this automatically installs the prog to /usr/bin/X11. Deleting from /usr/bin also automatically removes it from /usr/bin/X11. Does my Linux Mint automatically do this? What is the reason for this feature?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

This because /usr/bin/X11 is a symlink to /usr/bin (the dot at the end means the same directory as the link is in ):

$ ls -l /usr/bin/X11
lrwxrwxrwx 1 root root 1 May  5  2013 /usr/bin/X11 -> .

If you browse or cd to this directory, you are really just looking at /usr/bin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.