To quote Joris Lambrecht <[EMAIL PROTECTED]>, # the /dev directory indeed just lists a list of names wich are linked to # device driver files through the inode table # # so in fact you're grep-in the output of the /dev, if this contains some # control chars it might hang your grep command, you should* be able to kill # this from another console #
Umm... More than that; since "-r" is passed to grey, and those devices are, for the most part, regular files, they themseves are grepped. For instance, 'grep -r hello /*', will eventually lead to grepping /dev/hda. You'll be grepping your entire bloody harddrive. :) David Barclay Harris, Clan Barclay Aut agere, aut mori. (Either action, or death.)