2/03/2009

文件内容查找指令grep

grep apple fruitlist.txt

In this case, grep prints all lines containing 'apple' from the file fruitlist.txt, regardless of word boundaries; therefore lines containing 'pineapple' or 'apples' are also printed

查找文件fruitlist.txt 中含有apple单词的行

没有评论: