[ale] how to find

Greg Sabino Mullane greg at turnstep.com
Thu Jun 13 08:48:08 EDT 2002



-----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.






More information about the Ale mailing list