𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Grep Pocket Reference

✍ Scribed by John Bambenek, Agnieszka Klus


Publisher
O'Reilly Media
Year
2009
Tongue
English
Leaves
78
Series
Pocket Reference
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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.

✦ Table of Contents


Table of Contents......Page 3
Introduction......Page 4
Conventions Used in This Book......Page 5
Using Code Examples......Page 6
Comments and Questions......Page 7
Conceptual Overview......Page 8
Introduction to Regular Expressions......Page 10
Quotation Marks and Regular Expressions......Page 11
Metacharacters......Page 12
POSIX Character Classes......Page 23
Crafting a Regular Expression......Page 24
grep Basics......Page 27
Basic Regular Expressions (grep or grep -G)......Page 30
Match Control......Page 31
General Output Control......Page 32
Output Line Prefix Control......Page 34
Context Line Control......Page 36
File and Directory Selection......Page 37
Other Options......Page 40
Extended Regular Expressions (egrep or grep -E)......Page 41
Fixed Strings (fgrep or grep -F)......Page 44
Perl-Style Regular Expressions (grep -P)......Page 46
Character Types......Page 48
Character Properties......Page 49
PCRE Options......Page 51
Introduction to grep-Relevant Environment Variables......Page 52
When to Use grep -E......Page 57
When to Use grep -P......Page 58
Performance Implications......Page 59
Advanced Tips and Tricks with grep......Page 60
Backreferences......Page 61
Binary File Searching......Page 62
Useful Recipes......Page 64
IP addresses......Page 65
U.S.-based phone numbers......Page 66
Credit card numbers......Page 67
Searching through large numbers of files......Page 68
Matching strings across multiple lines......Page 69
References......Page 70
Index......Page 72

✦ Subjects


Π‘ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠ°;ΠšΠΎΠΌΠΏΡŒΡŽΡ‚Π΅Ρ€Π½Π°Ρ Π»ΠΈΡ‚Π΅Ρ€Π°Ρ‚ΡƒΡ€Π°;Linux / Unix;


πŸ“œ SIMILAR VOLUMES


grep Pocket Reference
✍ John Bambenek, Agnieszka Klus πŸ“‚ Library πŸ“… 2009 🌐 English

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 filte

grep Pocket Reference
✍ John Bambenek and Agnieszka Klus πŸ“‚ Library πŸ“… 2009 πŸ› O’Reilly Media 🌐 English
grep Pocket Reference
✍ John Bambenek and Agnieszka Klus πŸ“‚ Library πŸ“… 2009 πŸ› O’Reilly Media 🌐 English
grep Pocket Reference
✍ Bambenek, John;Klus, Agnieszka πŸ“‚ Library πŸ“… 2009 πŸ› O'Reilly Media;Safari Books Online 🌐 English

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 filte