≡ Menu

Learn Sed and Awk to Enhance Your UNIX / Linux Life

If you are spending lot of time on UNIX / Linux, the following might sound familiar to you.

  • You are manually making the same edits on multiple files. Sometimes the same edits are manually repeated on files on different servers.
  • You are constantly viewing large log files (or data files), manually looking for certain lines that contain certain patterns. Once you find those lines, you are manually copying and pasting a few relevant fields from those lines for reporting purposes.
  • You are constantly dealing with text files, and spending a lot of time manually manipulating the text files.

Sed and Awk 101 Hacks is a downloadable eBook that contains 101 practical examples on various advanced Sed and Awk features that will enhance your UNIX / Linux life.

What is inside the eBook?

This eBook is the only guide you’ll ever need to learn Sed and Awk. I promise that it will help you understand everything you need to know so you can manipulate text files using Sed and Awk.

This book contains a total of 212 pages with clear instructions and numerous examples.

Chapters 1 – 7 cover Sed:

  • Chapters 1 – 2 explain Sed syntax and basic commands, and cover in detail the Sed substitution command.
  • Chapters 3 – 5 explain reg-ex basics, Sed execution, and several additional Sed commands.
  • Chapters 6 – 7 explains Sed hold and pattern space commands, multi-line commands, and loops.

Chapters 8 – 13 cover Awk:

  • Chapters 8 – 9 explain Awk syntax, basic commands, and Awk built-in variables.
  • Chapters 10 – 11 explain Awk variables, operators, conditional statements, and loops.
  • Chapters 12 – 13 explain the powerful Awk associative arrays, and several additional Awk commands.

Who should use this eBook?

This book is for newbies or intermediate users of Sed and Awk who would like to become an expert in both these tools.

This book is for Developers, Unix sysadmins, DBAs, Network Administrators, and IT Managers who spend a significant amount of their time on a Unix platform and would like to take advantage of the powerful Sed and Awk tools to make their life easier.

I’ve been using Sed and Awk for several years, and most of my file manipulation tasks are done using a single line (or a few lines for complex scenarios) of Sed or Awk code.

How can Sed and Awk help you?

  • For routine editing jobs, you don’t need to open the text file in an editor and interactively make the change every time. Instead, you can create a Sed script and execute it whenever you want to make those routine edits non-interactively.
  • From a text file, you can quickly generate reports using Awk scripts.
  • If you have a text file that contains structured data that was stored by some other application, you can manipulate the data based on your requirements using Awk scripts.
  • You can extract and massage a portion of a huge log file using either Sed or Awk scripts depending on the situation. You can automate your log reviewing routine and look for specific log message to generate a custom report, which can be mailed to you if required.
  • If you learn how to use Sed and Awk tools effectively, the possibilities for using them effectively are limited only by your imagination.

How much does the eBook cost?

The Sed and Awk 101 Hacks eBook is just $39.95.

This book could’ve easily been released as two separate books, one for Sed, and another for Awk. You are getting the value of two books in just one.

An investment of just $39.95 for this eBook will change the way how you work on UNIX / Linux forever.

Free Bonus Gifts Included!

  • Bonus #1: Sed cheatsheet. Condensed version of all Sed commands for your quick reference in 2 pages.
  • Bonus #2: Awk cheatsheet. Condensed version of all Awk commands for your quick reference in 3 pages.
  • Bonus #3: Book companion. All sample input files and example scripts shown in the book are bundled in a single tar file.

Easily a $25 value for ABSOLUTELY FREE! (For a Limited Time Only)

100% Money-Back Guarantee

If you are not satisfied with the Sed and Awk 101 Hacks ebook, just let me know and I’ll refund your money — that’s how confident I am that this book will help you learn and master Sed and Awk.


Just think! At 39 cents per hack this book will change the way you use Sed and Awk utilities, and also serve as a permanent reference for your Sed and Awk needs. Click here to get your Sed and Awk 101 Hacks eBook NOW!

Get all Three 101 Hacks eBook with Additional 20% Discount

For a limited time, an additional 20% discount is offered, when you purchase all three 101 hacks eBooks (Bash, Sed and Awk, and Vim).

Click here to get all 3 eBooks with additional 20% discount.