11 Advanced Linux ‘Grep’ Commands on Character Classes and Bracket Expressions

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Jalpan Trivedi

Working as Linux Administrator with 13+ years of experience on Linux and Open Source technologies.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

4 Responses

  1. Alexander says:

    Those aren’t 11 commands – it’s just one “command”. And on your Google Plus post, you showed the “command” ^C which isn’t even explained here…

  2. vinay singh says:

    grep "^[[:punct:]]" tecmint.txt for Search Punctuation Characters is not working then I tried to grep -c “(” it works but didn’t solve my problem

  3. Jonix says:

    When doing search with xdigit it should be within range 0-9 and A-F and a-f only.

Leave a Reply to Ravi Saive Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.