grep 能同時過濾 2個條件嗎 - Linux

By Valerie
at 2008-05-21T16:46
at 2008-05-21T16:46
Table of Contents
我想要用grep 指令,同時過濾「兩個條件」
比如說,我想抓出一行中,同時有提到 sta1 與 sta2 字眼,
但找了很久, 似乎文件都只提到單一條件
請問我的要求,grep可以滿足嗎...
--
比如說,我想抓出一行中,同時有提到 sta1 與 sta2 字眼,
但找了很久, 似乎文件都只提到單一條件
請問我的要求,grep可以滿足嗎...
--
Tags:
Linux
All Comments

By Dorothy
at 2008-05-22T02:06
at 2008-05-22T02:06

By Elma
at 2008-05-26T06:12
at 2008-05-26T06:12

By Irma
at 2008-05-28T21:22
at 2008-05-28T21:22
Related Posts
辦公室用途 請給建議

By Kristin
at 2008-05-21T15:13
at 2008-05-21T15:13
cpu使用率顯示不到10% 可是溫度很高...

By Tracy
at 2008-05-21T13:38
at 2008-05-21T13:38
顯卡安裝.......

By Genevieve
at 2008-05-21T12:23
at 2008-05-21T12:23
急問!server死掉了…journal recreate …

By Anonymous
at 2008-05-21T10:23
at 2008-05-21T10:23
能直接將硬碟改成RAID1嗎?

By Catherine
at 2008-05-21T10:03
at 2008-05-21T10:03