Ed Mastery

New for 1 April!
Available in two editions

Let me be perfectly clear: ed(1) is the standard Unix text editor. If you don’t know ed, you’re not a sysadmin. You’re a mere dabbler. A dilettante. Deficient.

Forty years after ed’s introduction, internationally acclaimed author Michael W Lucas has finally unlocked the mysteries of ed for everyone. With Ed Mastery, you too can become a proper sysadmin.

Ed Mastery will help you:
• understand buffers and addresses
• insert, remove, and mangle text
• master file management and shell escapes
• comprehend regular expressions, searches, and substitutions
• create high-performance scripts for transforming files

You must be at least this competent to use this computer. Read Ed Mastery today!

“I’m glad someone’s finally giving ed the attention it deserves.”
– Ken Thompson, co-creator of Unix

Get the book now!

Ebook or Print:

  • Amazon US, Amazon UK, Amazon DE, Amazon FR, Amazon CA
  • Barnes & Noble/Nook

    Ebook (DRM free, because DRM is not Unix)

  • direct from my bookstore as PDF, epub, and Mobi (non-EU only, because VAT)
  • Gumroad PDF, epub, mobi (supports EU VAT)
  • Kobo
  • iBooks


    Also available: Ed Mastery: Manly McManface Edition!

    A small fraction of peoplemen think that women don’t belong in technology books. I know, because they make a distinct effort to tell me.

    As a good capitalist, I hereby respond to market pressure with the “Manly McManface” edition of Ed Mastery.

    It’s the same book. Same content. But there’s one critical difference:

    Any third-person singular pronouns that appear in the standard edition, for normal people, are female. Those who believe that women don’t belong in tech books may purchase this special “Manly McManface” edition, where all third-party singular pronouns are masculine.

    To compensate for this edition’s much smaller market, though, the Manly edition is unfortunately pricier than the standard edition. That’s basic economics.

    Also, one dollar of my proceeds from each sale of the Manly McManface Edition will be donated to my local chapter of Soroptimists International.

    Ebook or Print:

  • Amazon US, Amazon UK, Amazon DE, Amazon FR, Amazon CA
  • Barnes & Noble

    Ebook (DRM free, because DRM is not Unix)

  • direct from my bookstore as PDF, epub, and Mobi (non-EU only, because VAT)
  • Gumroad PDF, epub, mobi (supports EU VAT)
  • Kobo
  • iBooks