BSD Hacks: 100 Industrial Tip & Tools and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
BSD Hacks
 
 
Start reading BSD Hacks: 100 Industrial Tip & Tools on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

BSD Hacks [Paperback]

Dru Lavigne dru (Author)
4.7 out of 5 stars  See all reviews (12 customer reviews)

List Price: $24.95
Price: $18.27 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $6.68 (27%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $9.99  
Paperback $18.27  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

May 31, 2004

In the world of Unix operating systems, the various BSDs come with a long heritage of high-quality software and well-designed solutions, making them a favorite OS of a wide range of users. Among budget-minded users who adopted BSD early on to developers of some of today's largest Internet sites, the popularity of BSD systems continues to grow. If you use the BSD operating system, then you know that the secret of its success is not just in its price tag: practical, reliable, extraordinarily stable and flexible, BSD also offers plenty of fertile ground for creative, time-saving tweaks and tricks, and yes, even the chance to have some fun.

"Fun?" you ask. Perhaps "fun" wasn't covered in the manual that taught you to install BSD and administer it effectively. But BSD Hacks, the latest in O'Reilly's popular Hacks series, offers a unique set of practical tips, tricks, tools--and even fun--for administrators and power users of BSD systems.

BSD Hacks takes a creative approach to saving time and getting more done, with fewer resources. You'll take advantage of the tools and concepts that make the world's top Unix users more productive. Rather than spending hours with a dry technical document learning what switches go with a command, you'll learn concrete, practical uses for that command.

The book begins with hacks to customize the user environment. You'll learn how to be more productive in the command line, timesaving tips for setting user-defaults, how to automate long commands, and save long sessions for later review. Other hacks in the book are grouped in the following areas:

  • Customizing the User Environment
  • Dealing with Files and Filesystems
  • The Boot and Login Environments
  • Backing Up
  • Networking Hacks
  • Securing the System
  • Going Beyond the Basics
  • Keeping Up-to-Date
  • Grokking BSD
If you want more than your average BSD user--you want to explore and experiment, unearth shortcuts, create useful tools, and come up with fun things to try on your own--BSD Hacks is a must-have. This book will turn regular users into power users and system administrators into super system administrators.

Frequently Bought Together

BSD Hacks + BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD + Building a Server with FreeBSD 7
Price For All Three: $56.09

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD $14.76

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Building a Server with FreeBSD 7 $23.06

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

Review

"O'Reilly's Hacks series of titles really does present an exemplary model for quality documentation, and this BSD focused work is certainly no exception." Linux User & Developer - Issue 42 (Classic title)

About the Author

Dru is an instructor at Marketbridge Technologies in Ottawa and the maintainer of the Open Protocol Resource. In her non-existent spare time, you can find her shooting Remic's Rapids or cycling through Gatineau Park.


Product Details

  • Paperback: 448 pages
  • Publisher: O'Reilly Media (May 31, 2004)
  • Language: English
  • ISBN-10: 0596006799
  • ISBN-13: 978-0596006792
  • Product Dimensions: 9 x 6 x 1 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Best Sellers Rank: #750,538 in Books (See Top 100 in Books)

More About the Author

I've spent the last decade immersed in the IT world in the capacity of a trainer, document writer, sysadmin and independent consultant and have found that this mix appeals to many aspects of my personality. Teaching keeps me on my toes answering questions and ensuring that my knowledge is up-to-date. In writing, I have a chance to give back to the community and to help make the learning curve easier for others. Troubleshooting in system and network administration is more addictive than any puzzle or game I've come across. And as an independent consultant I get to choose my hours and the jobs that interest me.

 

Customer Reviews

12 Reviews
5 star:
 (10)
4 star:
 (1)
3 star:    (0)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (12 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

20 of 21 people found the following review helpful:
5.0 out of 5 stars I was hooked by hack 10, July 9, 2004
This review is from: BSD Hacks (Paperback)
"BSD Hacks" is the book I hoped to read. I've been using FreeBSD in production and test environments for about four years (since 4.1 REL), and I've played with OpenBSD and NetBSD for about a year each. I was looking for a book that would explore the nooks and crannies of BSD without covering the introductory issues often found elsewhere. By hack 10 I had already learned enough to justify purchasing "BSD Hacks." Unless you're a member of the core team, you'll find enough tricks and tips to make "BSD Hacks" a welcome addition to your system administration library.

In the first chapter on customizing the user environment, I learned multiple ways to make using BSD easier. Simple hints proved especially helpful, like ctrl-a and ctrl-e for moving around on the command line, or 'cd -' for changing to the last directory, or 'set autolist' to bring tab completion with lists to the tcsh shell. I wondered how I managed to navigate the command line without this keystroke-saving advice.

Author Dru Lavigne demonstrated a wonderful talent for finding useful tools in the BSD ports tree. Applications like Unison, Ghost for UNIX, and ClusterIT are all waiting to be used, and "BSD Hacks" brings them to life in an easy-to-read manner. There's also plenty of sound administration recommendations, like creating an emergency repair kit, automating installs, and creating scponly-based shells. I like the tuning suggestions in hack 69 and would have liked more information on that subject. These sorts of hacks leverage existing capabilities in the OS to enhance the administrator's ability to meet user needs. I would probably have not considered them (even with the BSD's thorough man pages) without reading "BSD Hacks."

My only concern with the book involves coverage of material best done elsewhere. For example, hack 46 covers Tcpdump. Since this is not a networking book, I didn't think Tcpdump needed its own section. The author also needed to clarify the octet counting section for the TCP header. By the time the TCP flags are reached in octet 13, we've already moved through 13 octets (numbered 0 to 12), not 12 as implied by the book. Hack 59 addresses Snort, perhaps the most well-worn topic in network security. With a half dozen books on Snort alone and another half dozen with chapters on the open source IDS, I didn't need to read more instructions on installing it.

Overall, I was very happy to read "BSD Hacks." It's an absolute must-buy, with its informational content easily justifying its low cover price. I recommend readers submit hacks of their own to O'Reilly for future editions. For example, hack 81 could have mentioned using "make package-recursive" to create packages of a port and its dependencies. Hack 80 should probably have used the "RELENG_5_1" tag to track the security release of FreeBSD 5.1, not "RELENG_5_1_0", which would make no changes whatsoever to a system already running 5.1 REL. Hack 82 could have mentioned the portcheckout tool to build a port without access to the whole tree. Books like "BSD Hacks" are an excellent way to demonstrate the power and elegance of BSD, and expand its influence to those looking for alternatives to Windows and Linux.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
5.0 out of 5 stars Mac-Centric Review for Darwin/OS X Hackers, September 26, 2004
By 
Isaac Levy ".ike" (Brooklyn, NY United States) - See all my reviews
(REAL NAME)   
This review is from: BSD Hacks (Paperback)
Originally reviewied for the Lower East Side Mac Unix Users Group:
http://lesmuug.org/reviews.html

OVERVIEW
--
There is a type of information that I consider to be a gem, a kind of information that doesn't really fit anywhere formally. It's too small, or perhaps too esoteric, to fit in most places.
This makes it hard to find- though these info-gems can often can be the source of wild hacking inspiration, or solve my un-solvable problems in some elegant manner.

This kind of information sometimes gets collected and recorded, Some of us at LESMUUG have really enjoyed the Mac OSX Hints book, spawned from macosxhints.com website,

http://lesmuug.org/reviews.html#Anchor-Mac-49575

BUT, after plowing repeatedly it's one UNIX chapter in Mac OS X Hints, I found myself craving more...

A Problem with BSD books:
One of the quietly great things about the BSD family of UNIX Operating Systems, is the terrific documentation. The quality and consistency of the man pages, across every BSD I've ever touched, I painfully appreciate when I use man pages on other non-BSD systems.
The FreeBSD world has the FreeBSD Handbook project, a printed and free online resource which sets the bar for every fat FreeBSD book out there. OpenBSD and NetBSD both have amazing online tutorials and documentation projects as well. Even the fledgling DragonFly BSD project has a full-blown Handbook, modeled after its FreeBSD lineage.
In the OpenDarwin and OSX world we enjoy the legacy of solid man pages and solid HowTo's online from our BSD heritage, and of course free registrations to developer.apple.com to boot.

With all that great documentation, it's really tough to find a BSD book that's really valuable, especially for experienced users, and Dru Lavigne has made a valuable and fun resource with BSD Hacks. The book is an impressive compilation of BSD gems, and as it's written for newbies and hardcore hackers alike.

Dru is a Canadian BSD Rockstar, well known in the BSD world for her articles with O'Reilly online, including the FreeBSD Basics column for ONLamp,

http://www.oreillynet.com/cs/catalog/view/au/73

so who better to write a book that doesn't fit into traditional documentation?! Someone who KNOWS BSD.


ABOUT THIS BOOK
--
The Book is comprised of so many disparate yet complete ideas, It's hard to sum up exactly what's in there. From networking, to gems on system maintenance, and gems about basics that really get lost in man pages. There's information about things like keeping up-to-date, giving a tutorial-level big picture of what can be done to keep your UNIX system running smoothly, boot and Login gems, some good Security Hacks and hacks about system customization and shell tricks. There's even a tutorial for how to create YOUR OWN man pages.

For Mac/Darwin users, the majority of the book applies directly to Darwin UNIX! A section which by its nature is OS-specific, would be the hacks about various port and application-distribution systems. This includes a good how-to for DarwinPorts, right along with the usual ports systems for other platforms. The section on filesystems doesn't have anything on hfs+, but that can be excused, insomuch as many mac-centric texts do it the same injustice.

Check out the TOC online for a full description of the book contents:
http://www.oreilly.com/catalog/bsdhks/toc.html


CONCLUSION
--
If you are a UNIX user who loves info-gems like I do, or you're a Mac UNIX user who digs macosxhints.com, (and the books published from it), I feel BSD Hacks will provide many weekends, and workdays worth of BSD gems- all written by a great technical author. This book now sits next to my printed FreeBSD Handbook, and since much of these gems are fairly timeless, I believe it will stay with me for a long time to come.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


10 of 11 people found the following review helpful:
5.0 out of 5 stars Simply Awesome, June 4, 2004
This review is from: BSD Hacks (Paperback)
I have been a fan of Dru's articles on O'Reilly's ONLamp website for some time, so purchasing this book was a no-brainer for me. After just 30 minutes of thumbing through this book, my impression was that it would be a 'steal' at twice the price. After spending an entire evening reading and applying some of her 'hacks' this book has earned a spot of honor on my shelf right next to "Absolute BSD" by Michael W. Lucas.

The writing is straight-forward with a minumum of 'fluff', so an intermediate to experienced sysadmin can apply the tips and tricks offered in a very short period of time. If you want to save yourself hours/days/weeks of trolling 'PowerUser' forums, and archived mailing lists I cannot recommend this book highly enough.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews










Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
going beyond the basics, intrusion detection, traffic shaping, mandatory access control, file daemon, headless system, interactive shell, storage daemon, disk hogs, user dru, ipfw queue, ipfw pipe, config pipe, fixit floppy, ftpuser ftpusers, make install clean, default boot menu, netmask oxffffffoo broadcast, snapshot root, own manpages, ipfw add, kernel configuration file, own startup scripts, interactive copy, login environments
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Securing the System, Customizing the User Environment, Networking Hacks, Keeping Up-to-Date, Sun Jan, Mon Dec, Strip the Kernel, Perform Client-Server Cross-Platform Backups, Use Multiple Screens, Customize User Configurations, Automate Updates, Protect Files, Built-in Tripwire, Monitor Password Policy Compliance, Automate Remote Backups, Directory Structure Using, Format Text, Create Patches, Use Multiple Wireless, Manipulate Files, Create Portable, Wireless Network Using, Tighten Security, Safely Merge Changes, Access Control Lists
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(8)
(6)
(2)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject