Start reading grep Pocket Reference (Pocket Reference (O'Reilly)) on the free Kindle Reading App or on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.
Start reading this book in under 60 seconds
Read anywhere, on any device

Deliver to your Kindle or other device

Enter a promotion code
or gift card
 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

grep Pocket Reference (Pocket Reference (O'Reilly)) [Kindle Edition]

John Bambenek , Agnieszka Klus
4.2 out of 5 stars  See all reviews (12 customer reviews)

Digital List Price: $9.99 What's this?
Print List Price: $12.99
Kindle Price: $6.99
You Save: $6.00 (46%)

If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 57%). Print edition purchase must be sold by Amazon. Learn more.

Formats

Amazon Price New from Used from
Kindle Edition $6.99  
Paperback $10.78  
Save up to 85% Off Kindle Books
Choose from more than 400 Kindle books up to 85% off from popular genres including mystery & thriller, romance, science fiction & fantasy, non-fiction, children's & teens, and more. This deal is only available through October 5, 2014. Shop now

Book Description

grep Pocket Reference is the first guide devoted to grep, the powerful Unix content-location utility. This handy book is ideal for system administrators, security professionals, developers, and others who want to learn more about grep and take new approaches with it -- for everything from mail filtering and system log management to malware analysis. With grep Pocket Reference, you will:

  • Learn methods for filtering large files for specific content
  • Acquire information not included in the current grep documentation
  • Get several tricks for using variants such as egrep
  • Keep key information about grep right at your fingertips

Find the answers you need about grep quickly and easily. If you're familiar with this utility, grep Pocket Reference will help you refresh your basic knowledge, understand rare situations, and work more efficiently. If you're new to grep, this book is the best way to get started.



Editorial Reviews

Book Description

A quick pocket reference for a utility every Unix user needs.

About the Author

John Bambenek is a programmer and teacher with over ten years of experience. His work at the Internet Storm Center and the University of Illinois, as well as his contributions to SANS information management courses, will help him promote this book and give him a sound base from which to write.

Agnieszka Klus was born in Rzeszow, Poland and came here as a child. She lives in the northwest suburb of Chicago, but considers herself a Chicagoan. She is currently trying to get her Masters in Accountancy at the University of Illinois at Urbana-Champaign, and also works as a system administrator at the Coordinated Science Laboratory.


Product Details

  • File Size: 235 KB
  • Print Length: 86 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (January 14, 2009)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0026OR2JU
  • Text-to-Speech: Enabled
  • X-Ray:
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #267,790 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?.


Customer Reviews

Most Helpful Customer Reviews
20 of 20 people found the following review helpful
5.0 out of 5 stars A very handy reference February 7, 2009
Format:Paperback|Verified Purchase
This little book is everything a pocket reference should be. grep and egrep are not hard to use, but there are quite a few valid combinations of options, and this book pretty much covers them all. If you want to find expressions in one or more files, this is the tool to use. It's easy to forget everything available, so this book puts everything in one place for you. There's even a section on an option of grep that is only valid with PERL, so you may or may not have access to it. The following is the table of contents since it is not listed in the product description. One word of warning - if you don't already understand regular expressions this book won't teach it to you. It is indeed just a quick reference for concepts you should already know. The advanced tips and tricks section is the only exception to that rule and is itself worth the price of admission.

Chapter 1. grep Pocket Reference
Section 1.1. Introduction
Section 1.2. Conceptual Overview
Section 1.3. Introduction to Regular Expressions
Section 1.4. grep Basics
Section 1.5. Basic Regular Expressions (grep or grep -G)
Section 1.6. Extended Regular Expressions (egrep or grep -E)
Section 1.7. Fixed Strings (fgrep or grep -F)
Section 1.8. Perl-Style Regular Expressions (grep -P)
Section 1.9. Introduction to grep-Relevant Environment Variables
Section 1.10. Choosing Between grep Types and Performance Considerations
Section 1.11. Advanced Tips and Tricks with grep
Section 1.12. References
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Command man grep and beyond... November 23, 2010
By DEEPU
Format:Paperback|Verified Purchase
It has beyond what you will learn from Man pages of grep. Few examples will surely make you understand the power of grep command.
Comment | 
Was this review helpful to you?
5 of 6 people found the following review helpful
2.0 out of 5 stars Not what I hoped for July 3, 2012
By joepd
Format:Paperback
grep is such a tool that one uses continually every unix console session. Great to spend an evening reading up about that tool, just to get introduced to the more advanced uses. 75 pages would be plenty to tell something nice, not deal extensively with regular expressions. So quite some space to tell something new, right?

Wrong. Regular expressions keep on being the central focus of this book, despite being uncapable of telling how they really work. The examples of Advanced Use are how to match lines with IP-addresses and ISBN-numbers, AKA regular expressions. No word on how to make the use of grep itself nicer.

* On page 9., option -e is used without explaining what it does.
* Page 25. It seems like they want to show how to avoid a pipe from one grep to another, but they just show got rid of the cat statement. The text does not make sense, and there is no pointer to where to look in the book to get performance increase.
* p.60: '/' really should have been a '\'.
* In the discussion of command line options, nor of the environment variables, an explanation of the practical difference between 'auto' and 'always' has been omitted. I would have hoped for a discussion on how to use pagers like less with color support (No sweat to figure out yourself: exporting GREP_OPTIONS="--color always" and LESS="-R" works for me to retain the color marks).
* As the final words, the authors warn about using grep on a multitude of files, as this could run into the limits of the system. Of course, a combination of find and xargs is a more subtle and correct one, which does not happen to run into this limit. The authors suggest that one should rebuild the kernel to overcome this limitation.
Read more ›
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Good Book on the Basics of REGEX & GREP November 16, 2011
By Roger
Format:Paperback
I needed a book that would teach me REGEX and how better to use grep/fgrep, but without having to learn PERL and JAVA. (ie. Master Regular Expressions contains over half the data relevant to other languages.)

This "grep Pocket Reference" did a good job of explaining the grep options in tandem with the it's Manual Page. Although few, I thought the examples near the end were great. However, the examples seemed to be themed on personal private data searching rather then something more relevant to a computer users -- but they could easily be converted.

This EBook needs some corrections (a reprint including errata?) as it contains some grammar or run-on sentences which conflict and provide incorrect data. Also, there's a sentence in the book stating, in effect, it's OK or legal to use fgrep to search other peoples EMail. I'm no lawyer, but this doesn't sound correct. Again, those few sentences probably need a little rewording.

All in all, besides the fact it needed a good proof reading -- the book taught me what I needed to learn about grep as it's manual page lacks examples and a certain amount of clarity. (Currently, grep's manual page is written like a specification rather then something focused towards a user, omitting example usage.)

(There is a small chapter on Perl REGEX. ie. --perl-regexp)

If you need a book to learn REGEX and have a little trouble with the GREP Manual Page, or don't want to read a huge book like Mastering REGEX, get this book for learning REGEX (aka BRE/ERE).

Also noteworthy, the MOBI formated EBook version of this "grep Pocket Reference" is the first readable MOBI EBook I've been able to read so far on my Kindle DXG. This book had few TABLE TAGS (or computer technical drawings/coding).
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
3.0 out of 5 stars Okay, but not as comprehensive as Id hoped
It was fairly light and didnt have much more than what could be found for free on the internet, but not bad as a handy reference. Read more
Published 3 months ago by Seafood
4.0 out of 5 stars Very Good Summary of GREP
It is very good and I know it's a pocket book but just a bit more info would have helped.
Published 10 months ago by Jim Wells
4.0 out of 5 stars Crash course and beyond
Be warned this book is not for those that are on something something for dummiies series. Neither is it for advanced users. Read more
Published 10 months ago by Ekrem Islekcerci
5.0 out of 5 stars Good Reference
Stays in my travel bag. Lots of good info in a small package. I need it for reminders at work.
Published 13 months ago by DJ SILK
4.0 out of 5 stars good buy
This book hits the stop for me. Worth the money I paid. Provided may example that are actually useful. Recommended
Published 17 months ago by Eric D. Magee
4.0 out of 5 stars Can't do a grep search without it
A quick reference to how to form 'grep' searches for files and file contents within the computer. I need this book to remind me about how to form the search command line.
Published 18 months ago by John E. Sherman
5.0 out of 5 stars Small pocket reference, but it's enough for me
Mainly explained GNU version of GREP, which is most common version.
This pocket provides some example and explanation. Read more
Published on January 18, 2012 by Madison Lee
5.0 out of 5 stars Outrageously Useful! AAAAAA+++++++
As a lifelong bibliophile, I can honestly say that few books come even remotely close to this one for usability and functionality.

i.e. Read more
Published on January 21, 2011 by Fred Consumer
Search Customer Reviews
Search these reviews only

More About the Author

Discover books, learn about writers, read author blogs, and more.

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Look for Similar Items by Category