> be "/etc/init.d/smb". When in doubt a "grep -i samba /etc/init.d" should
> find the right file.)
That won't work. You can do one of the following, though:
grep -i samba /etc/init.d/*
- or -
grep -ri samba /etc/init.d
The -r tells it to be 'recursive' and work on the whole directory,
allowing you to provide it with a directory for an argument.
The -i tells it to ignore case. Normally, grep wants files for
arguments, thus usually you would have to provide it with a wildcard on
the command-line.
Cheers,
--
Steven Black <blacks@indiana.edu> / KeyID: 8596FA8E
Fingerprint: 108C 089C EFA4 832C BF07 78C2 DE71 5433 8596 FA8E