help with symbolic links in qnx 4

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.

ls -laF



Leland wrote:

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.

Leland <lhelgerson@surplushunter.net> wrote:

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.

In the simple case, no there isn’t. Symbolic links live in the filesystem,
and to get a complete and accurate list of them would require a complete
search of all mounted filesystems.

In the complex case, I’m sure someone could come up with a find command
line that would do it. It would, probably, take a while to execute.

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

If you have a particular symbolic link, “ls -l” will show where it points.

But, if you have created hard links (“ln file1 file2”, rather than
“ln -s file1 file2”), they won’t be distinguishable.

-David

QNX Training Services
http://www.qnx.com/services/training/
Please followup in this newsgroup if you have further questions.

David Gibbs wrote:

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

If you have a particular symbolic link, “ls -l” will show where it points.

You can find symbolic links thusly:

find / -type l


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

David and to others that replied -

Thanks very much for all the help. I’ve done further digging and it turns
out what I was looking for was an alias instead of a symbolic link. While
I’m still looking in the manuals a little for help with the alias command
I’m on the right track, and because of your help I’ve picked up quite a bit
as to where to look for some of the basics.

Leland
“David Gibbs” <dagibbs@qnx.com> wrote in message
news:d6abr6$gpn$1@nntp.qnx.com

Leland <> lhelgerson@surplushunter.net> > wrote:
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.

In the simple case, no there isn’t. Symbolic links live in the
filesystem,
and to get a complete and accurate list of them would require a complete
search of all mounted filesystems.

In the complex case, I’m sure someone could come up with a find command
line that would do it. It would, probably, take a while to execute.

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

If you have a particular symbolic link, “ls -l” will show where it points.

But, if you have created hard links (“ln file1 file2”, rather than
“ln -s file1 file2”), they won’t be distinguishable.

-David

QNX Training Services
http://www.qnx.com/services/training/
Please followup in this newsgroup if you have further questions.