[Linux-disciples] Following symlinks in 'find'

Stephen R Laniel steve at laniels.org
Wed Oct 26 15:42:16 EDT 2005


This should be really easy, but for some reason I'm not
nailing it.

All I want to do is get a list of all the referents of the
symlinks in /etc/rc[0-9].d. I thought I should be able to do

find /etc/rc[0-9].d -type l -follow

but apparently that doesn't work. The end result that I want
is the list of scripts in /etc/init.d that would be invoked
when the machine rebooted. This should be easy.

What am I missing?

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20051026/8adcc77b/attachment.pgp


More information about the Linux-disciples mailing list