grep -c打印总行数 -n显示行号 -v取反 -A*下面几行 -B*上面几行 C* 除了符合条件外上下各几行 -r遍历目录 -h 去掉文件名

.表示任意字符  *表示任意零个或多个*前面的字符 .*在前面基础上包括空行

–color 可以将过滤出的内容红色显示


有多个顾虑条件可以使用 | 来连接









7 条评论

  1. Hi there, i read your blog occasionally and i own a similar one and i was
    just wondering if you get a lot of spam remarks?

    If so how do you stop it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any support is very much appreciated.

  2. dubai sms

    I’m not sure exactly why but this weblog is loading incredibly slow for me.
    Is anyone else having this issue or is it a problem on my end?

    I’ll check back later on and see if the problem still

  3. This is really interesting, You are a very skilled blogger.

    I have joined your rss feed and look forward to seeking more
    of your magnificent post. Also, I’ve shared your website in my
    social networks!

  4. It’s very effortless to find out any topic on net as compared to textbooks, as I found this
    post at this web site.

  5. Hey there just wanted to give you a quick heads up and let you know a few
    of the images aren’t loading properly. I’m not sure why but
    I think its a linking issue. I’ve tried it in two different browsers and both show the same

  6. ESTA offdicial

    Hi, after reading this awesome paragraph i am as well happy
    to share my know-how here with friends.

  7. domanda di visto

    I am extremely impressed with your writing talents as neatly as
    with the structure on your weblog. Is this
    a paid subject matter or did you customize it your self?
    Anyway keep up the excellent high quality writing,
    it is uncommon to look a great weblog like this one nowadays..