I am running Debian Linux 3.2.51 x86_64 and findutils 4.42. I have been writing a script but have run into a problem. My question is am I doing something wrong, or is this a bug?
In general I am trying to step through the /etc/rcX.d (where X is 1-6) and dump the name of the Start and Kill links but the -lname pattern does not work the same as the -name pattern. For example:
find /etc/rc6.d -name "*[KS][0-9][0-9]*" -print
The prints out the name of all the matching names.
find /etc/rc6.d -lname "*[KS][0-9][0-9]*" -print
Does not return anything.
I know there are a couple of ways around this but I would really like to know what I might be missing.
Thanks in Advance,