[转载] grep question# Unix - 噫吁兮,危乎高哉
a*j
1 楼
【 以下文字转载自 Linux 讨论区 】
【 原文由 AgehaDJ 所发表 】
for example,
if you want to find files that contain both "linux" and "unix",
so we should do it in shell
foreach(`grep -l "linux" *.*`)
grep "unix";
is it correct? or not?
or how should I do it?
【 原文由 AgehaDJ 所发表 】
for example,
if you want to find files that contain both "linux" and "unix",
so we should do it in shell
foreach(`grep -l "linux" *.*`)
grep "unix";
is it correct? or not?
or how should I do it?