Linux下查找字符串命令

1.在vim 編輯器裏查找某一字符串: /content enterweb 如:在編輯mylog.log文件時,查找」hello」字符串,上下翻頁實在太長,能夠用如下方式:express /hello #向下搜索 ?hello #向上搜索 2.查找某個文件裏是否包含字符串 : grep 「content」 filename 如,在mylog.log裏查找」hello「:vim grep 「hel
相關文章
相關標籤/搜索