
November 21st, 2003, 10:59 AM
|
|
Contributing User
|
|
Join Date: Sep 2003
Posts: 137
Time spent in forums: 5 m 37 sec
Reputation Power: 0
|
|
|
Grep is the tool to use.
grep rcp * (like you said) looks for rcp in all the files that are in the directory you issued the command (not the sub dirs!).
If the command doesn't return anything: rcp is not in any of the files.
It could be that rcp/remsh are in capitals (which is strange because both are commands). In any case, if you want to search ignoring case you can use the -i option (see man grep for more options).
If you want to find rcp and remsh in one run you can use egrep:
egrep 'rcp|remsh' *
|