or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
35 used & new from $5.11

Have one to sell? Sell yours here
 
   
BSD Hacks
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  
4.7 out of 5 stars  See all reviews (12 customer reviews)

List Price: $24.95
Price: $18.96 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $5.99 (24%)
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 2 left in stock--order soon (more on the way).

Want it delivered Thursday, February 11? Choose One-Day Shipping at checkout. Details
24 new from $8.00 11 used from $5.11
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy BSD Hacks and get Mastering FreeBSD and OpenBSD Security at an additional 5% off Amazon.com's everyday low price.

BSD Hacks + Mastering FreeBSD and OpenBSD Security
Buy Together Today: $59.15

Show availability and shipping details

  • This item: BSD Hacks

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

  • Mastering FreeBSD and OpenBSD Security

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


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)

Product Description

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.


Product Details

  • Paperback: 448 pages
  • Publisher: O'Reilly Media (May 24, 2004)
  • Language: English
  • ISBN-10: 0596006799
  • ISBN-13: 978-0596006792
  • Product Dimensions: 9.1 x 6.1 x 1.2 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.com Sales Rank: #214,456 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #1 in  Books > Computers & Internet > Apple > Mac Server
    #2 in  Books > Computers & Internet > Operating Systems > BSD
    #6 in  Books > Computers & Internet > Apple > Mac Administration

More About the Author

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

Visit Amazon's Dru Lavigne Page

Inside This Book (learn more)

What Do Customers Ultimately 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
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

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
"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


 
11 of 12 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)   
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
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

5.0 out of 5 stars excellent book!
excellent book, lots of great commands to get you used to the command line. Only downfall is Amazon is not packaging their books well anymore, I ordered $100 worth of books that... Read more
Published 8 months ago by Strom

5.0 out of 5 stars I'm torn with the BSD community structure... but this book ROCKS!
Delving into BSD, I could not find the amount of print material I was hoping for... but instead found online (internet and CDROM) materiel of man pages, command listings, etc... Read more
Published 14 months ago by J. Page

5.0 out of 5 stars Simple, Easy and Powerful
Although the name is scary, the ideas inside are simple to understand and implement, yet very powerful. Read more
Published on February 6, 2007 by charray

5.0 out of 5 stars Great complementary material
Make this the FreeBSD book you buy after you've got a basic understanding of the operating system. In other words, this is a very useful "sidekick" BSD book. Read more
Published on November 10, 2006 by sinbad

2.0 out of 5 stars Dont Bother
I just thought this book is not really that good. Most were not even hacks, but just basic usage. The only hacks book I really liked was by Rob - Linux Server Hacks. Read more
Published on June 12, 2005 by !linux_user

5.0 out of 5 stars The best BSD book on the shelves, PERIOD.
Whether you are a beginner or an advanced user, you will find this book extremely practical. Dru's solutions make building a BSD server from start to finish a snap. Read more
Published on January 27, 2005 by DVDGuru

5.0 out of 5 stars Great second book on FreeBSD
If you are new to FreeBSD this isn't the first book to get but it is definately the second. Dru Lavigne is one of the clearist computer book writers around. Read more
Published on September 18, 2004 by Steve B.

5.0 out of 5 stars 100 practical and unique recipes for BSD
The Hacks series has been great for O'Reiily. There has only been one so far that has not lived up to the series potential of presenting unique and practical content in a tight... Read more
Published on August 9, 2004 by Jack D. Herrington

4.0 out of 5 stars How good a hacker are you?
Before linux gained prominence, unix hackers often preferred those unixes derived from BSD. These unixes tended to be the most open for you to contribute applications to. Read more
Published on June 6, 2004 by W Boudville

Only search this product's reviews



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
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.