help with symbolic links

Hello -

I’m familiar with using the ln command to create symbolic links. Is there
any way to have the system show you all the symbolic links that are
currently loaded or working? I’ve looked in the manuals but not found
anything.

I want to see what a symbolic link is but haven’t figured out anything that
works.

On Sat, 14 May 2005 18:06:10 +0400, Leland <lhelgerson@surplushunter.net>
wrote:

Is there any way to have the system show you all the symbolic links that
are currently loaded or working?
I do not know of a way to see them all.

I use the filemanager named “mqc”, it shows if a file is a link or a plain
one (among other usefull info).
Also it shows if a link is orphaned, very handy.

Tony.

Leland wrote:

I’m familiar with using the ln command to create symbolic links. Is there
any way to have the system show you all the symbolic links that are
currently loaded or working? I’ve looked in the manuals but not found
anything.

You’d have to go searching for them, something like “find / -type l”.

On Sun, 15 May 2005 01:10:57 +0400, John Garvey <jgarvey@qnx.com> wrote:

You’d have to go searching for them, something like “find / -type l”.
How to find an orphaned one?

Tony.

No, just to find the ones that are loaded. I have a system written by
someone else that has a “dir” symbolic link - I’d like to find out what it
really is. I’m a beginner so that works against me some,

:wink:

L
“Tony” <mts.spb.suxx@mail.ru> wrote in message
news:op.sqsaq0wdo93ri4@mobile…

On Sun, 15 May 2005 01:10:57 +0400, John Garvey <> jgarvey@qnx.com> > wrote:
You’d have to go searching for them, something like “find / -type l”.
How to find an orphaned one?

Tony.

Leland wrote:

No, just to find the ones that are loaded. I have a system written by
someone else that has a “dir” symbolic link - I’d like to find out what it
really is.

Might also want to check “prefix”, which is another sort of symlink
(a QNX-specific pathname redirection) …

On Sun, 15 May 2005 02:32:09 +0400, Leland <lhelgerson@surplushunter.net>
wrote:

I have a system written by someone else that has a “dir” symbolic link

  • I’d like to find out what it really is.
    Do you want to find out what “dir” is?

Then try “ls -l dir”.
It will show to what a program “dir” is sym-linked.

(My guess is it might be the “ln -s ls dir”, or “ln -s /bin/ls /bin/dir”)

Tony.

find / -type l ! -exists ‘{}’ -ls


“Tony” <mts.spb.suxx@mail.ru> wrote in message
news:op.sqsaq0wdo93ri4@mobile…

On Sun, 15 May 2005 01:10:57 +0400, John Garvey <> jgarvey@qnx.com> > wrote:
You’d have to go searching for them, something like “find / -type l”.
How to find an orphaned one?

Tony.