阅读背景:

如何在文本文件unix中显示包含特定字符串的第一行?

来源:互联网 

Was hoping someone can help out with this. I am trying to figure out how to display the first line that contains a certain string i.e. "computer" (first occurrence of "computer" in a txt file). I would prefer to do this using grep.Was hoping someone can help out with this. I am




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: