[ale] how to find

Zyman, Andy zymana at hra.nyc.gov
Thu Jun 13 09:52:27 EDT 2002


Greg,
I'm afraid this option "lname" is not working on Sun Solaris. I assume that
it is for Linux...
thank you for the input.

> -----Original Message-----
> From: Greg Sabino Mullane [mailto:greg at turnstep.com]
> Sent: Thursday, June 13, 2002 8:48 AM
> To: ale at ale.org
> Subject: Re: [ale] how to find
> 
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> > How i can find all links on the particular file?
> > Exmpl: /etc/init.d/xxx has 5 links - info from "ls" command. 
> > But how i can find all these links?
> 
> Unfortunately, the mapping is one way - the symlinks know which file 
> they are pointing to, but the original file does not know which 
> symlinks it has, only the number. You'll have to look for all the 
> files yourself. Any information you have about their location 
> (for example, if they are all in the /etc directory) will speed up 
> your search a lot. Use the -lname option with find to locate them:
> 
> find /etc -lname "/etc/init.d/xxx" 2>/dev/null
> 
> Greg Sabino Mullane  greg at turnstep.com
> PGP Key: 0x14964AC8 200206130846
> 
> -----BEGIN PGP SIGNATURE-----
> Comment: http://www.turnstep.com/pgp.html
> 
> iD4DBQE9CJQpvJuQZxSWSsgRAqrSAJjg3M0LytTW65lNnzbG9yM3HhyDAJ0VsibT
> pAd49guStLPZN+SIhLatOg==
> =mK9h
> -----END PGP SIGNATURE-----
> 
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. 
> Problems should be 
> sent to listmaster at ale dot org.
> 

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list