bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deciphering links


From: V. Mark Lehky
Subject: Re: Deciphering links
Date: Fri, 21 Sep 2001 11:05:44 -0400

Dave Rutherford wrote:
> 
> On Fri, 21 Sep 2001, V. Mark Lehky wrote:
> 
> > I have posted this previously on gnu.utils.help, but they weren't any -
> > help that is.
> >
> > If I have a link, such as a -> b, how can find out the "b" part from a
> > script?  Right now I am using `ls -o $item | awk '{print $10}'`.  There
> > must be a more graceful way to do this.
> 
> $ man readlink
> 
> If your system doesn't have readlink(1), get it and build it
> or write your own using readlink(2).

Yup, that was exactly it.  Thank You, Mark.

PS: Does bash come with a paperclip that you can ask quesions? <--- joke :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]