Mailinglist Archive: opensuse (3318 mails)

< Previous Next >
Re: [opensuse] odd /usr/bin thing
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Sun, 06 Jan 2008 16:53:36 -0500
  • Message-id: <47814DE0.6030500@xxxxxxxxxx>
Bob S wrote:
Hello SuSE users,

While searching for files in /usr/bin I noticed something that seems odd to me. There is a folder in there named X11.

Yes, the /usr/bin/X11 DIRECTORY has been a standard path for
well over 20 years now for all standard X11 utilities.

It is a link to the
> same folder. If you open it, it shows the exact same thing as
> /usr/bin. You can continue opening the X11 directory until you
> have a /usr/bin//X11/X11/X11/X11 file open on ad-infitum. They
> all show the exact same files and megabytes. What is this?

Because it's a symbolic link pointing back at itself...

However, /usr/bin/X11 isn't supposed to be one....

> Can somebody explain the purpose?

No, because /usr/bin/X11 is supposed to point at /usr/X11R6/bin.


do the following:

$ su
password:
# cd /usr/bin
# rm X11
# ln ../X11R6/bin X11
# exit
$ ls -al /usr/bin/X11
lrwxrwxrwx 1 root root 12 2006-12-26 /usr/bin/X11 -> ../X11R6/bin



Bob S



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References