[CentOS] Extract lines from text file

Tilman Schmidt t.schmidt at phoenixsoftware.de
Wed Aug 15 17:45:42 UTC 2012


Am 15.08.2012 16:36, schrieb Marcelo Beckmann:
> Em 15-08-2012 11:22, Tony Molloy escreveu:
[...]
>> cat passwdfile | grep ^m | grep 850 > output
[...]
> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850:

http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat

Because a cat is a terrible thing to waste.

SCNR,
T.



More information about the CentOS mailing list