[Gllug] bash startup

Nix nix at esperi.demon.co.uk
Fri Nov 2 23:27:28 UTC 2001


On Thu, 01 Nov 2001, tet at accucard.com spake:
> 
>>bash-2.05$ cat /etc/passwd | grep bash
> 
> FYI, you can do this with less typing:
> 
> 	grep bash /etc/passwd
> 
> Laziness is the one defining characteristic of a good Unix admin :-)

Quite so.

I'd venture to state that with the existence of input redirection and so
forth, *any* use of cat that isn't for catenation of files is a mistake
(albeit not a very harmful one).

Certainly I've never needed to use it for anything else.

-- 
`You're the only person I know who can't tell the difference
 between a pair of trousers and a desk.' --- Kieran, to me

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list