Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: symlink destination
- To: tlug@example.com
- Subject: Re: symlink destination
- From: Antony Stace <antony@example.com>
- Date: Wed, 25 Oct 2000 15:21:47 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Organization: System Claire
- References: <14838.29947.837620.510820@example.com>
- Reply-To: antony@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <cZStvD.A.Ga.W-n95@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: antony@example.com
a bit of an overkill, but you could use find <the file you want> -printf "%l" or if you want to find files which are symbolic links find <where you want to look> -type l -printf "%l" hope they are of some use cheers tony Viktor Pavlenko wrote: > > A shell programming question: > > Is there a way to find out the destination of a symbolic link (the > file it links to) from a sh script? Parsing the output of `ls -l' is a > possibility but it doesn't feel right. > > Thanks. > > Viktor > > ----------------------------------------------------------------------- > Next Technical Meeting: November 11 (Sat) 13:30 Place: LinuxProbe Hall > Next Nomikai (and Bonenkai!): December 15 (Fri) > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- Re: symlink destination
- From: Viktor Pavlenko <vp@example.com>
- References:
- symlink destination
- From: Viktor Pavlenko <vp@example.com>
Home | Main Index | Thread Index
- Prev by Date: nohup
- Next by Date: Re: symlink destination
- Prev by thread: symlink destination
- Next by thread: Re: symlink destination
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links