[NBLUG/talk] bash shell commands
Andru Luvisi
luvisi at andru.sonoma.edu
Tue Sep 2 17:46:01 PDT 2003
On Tue, 2 Sep 2003, Jeremy Turner wrote:
[snip]
> Maybe grep -H root /etc/group ?
>
> Grep manpage:
> -H, --with-filename
> Print the filename for each match.
[snip]
Indeed. That will work too on a Linux system (which is, of course, the
topic at hand). It is worth mentioning that -H is a GNU extension and
will not work on most other UNIX systems unless they have GNU grep
installed.
Andru
--
Andru Luvisi
Quote Of The Moment:
Quidquid latine dictum sit, altum viditur.
( Whatever is said in Latin sounds profound. )
More information about the talk
mailing list