To put
grep search a certain pattern (say
chroot) on the entire partition / I use (as root) the following command
Consequently I get the answer
Code:
Binary file /bin/su matches
Binary file /bin/login matches
_
where "_" is a blinking cursor. That is the system hangs and cannot be restarted but with brutal keystrokes (such as ctrl+alt+del etc). I guess that happens due to some special files which
grep cannot read. Could you please help me to adapt the
grep command to search a certain pattern (say
string) within "usual" files (say nonexecutable, non-symlinks, non-?) and throughout the root partition / ?
Thanks!