BSD Hacks: 100 Industrial Tip & Tools

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.
1112263623
BSD Hacks: 100 Industrial Tip & Tools

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.
23.99 In Stock
BSD Hacks: 100 Industrial Tip & Tools

BSD Hacks: 100 Industrial Tip & Tools

by Dru Lavigne
BSD Hacks: 100 Industrial Tip & Tools

BSD Hacks: 100 Industrial Tip & Tools

by Dru Lavigne

eBook

$23.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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

ISBN-13: 9780596552565
Publisher: O'Reilly Media, Incorporated
Publication date: 05/24/2004
Sold by: Barnes & Noble
Format: eBook
Pages: 450
File size: 2 MB

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.

Table of Contents

Creditsvii
Prefacexiii
Chapter 1.Customizing the User Environment1
1.Get the Most Out of the Default Shell1
2.Useful tcsh Shell Configuration File Options6
3.Create Shell Bindings9
4.Use Terminal and X Bindings12
5.Use the Mouse at a Terminal16
6.Get Your Daily Dose of Trivia18
7.Lock the Screen22
8.Create a Trash Directory24
9.Customize User Configurations28
10.Maintain Your Environment on Multiple Systems36
11.Use an Interactive Shell40
12.Use Multiple Screens on One Terminal44
Chapter 2.Dealing with Files and Filesystems49
13.Find Things49
14.Get the Most Out of grep53
15.Manipulate Files with sed57
16.Format Text at the Command Line60
17.Delimiter Dilemma65
18.DOS Floppy Manipulation68
19.Access Windows Shares Without a Server75
20.Deal with Disk Hogs78
21.Manage Temporary Files and Swap Space83
22.Recreate a Directory Structure Using mtree86
23.Ghosting Systems91
Chapter 3.The Boot and Login Environments96
24.Customize the Default Boot Menu96
25.Protect the Boot Process101
26.Run a Headless System104
27.Log a Headless Server Remotely108
28.Remove the Terminal Login Banner111
29.Protecting Passwords With Blowfish Hashes114
30.Monitor Password Policy Compliance117
31.Create an Effective, Reusable Password Policy124
32.Automate Memorable Password Generation128
33.Use One Time Passwords132
34.Restrict Logins136
Chapter 4.Backing Up140
35.Back Up FreeBSD with SMBFS140
36.Create Portable POSIX Archives144
37.Interactive Copy148
38.Secure Backups Over a Network151
39.Automate Remote Backups153
40.Automate Data Dumps for PostgreSQL Databases159
41.Perform Client-Server Cross-Platform Backups with Bacula162
Chapter 5.Networking Hacks169
42.See Console Messages Over a Remote Login169
43.Spoof a MAC Address172
44.Use Multiple Wireless NIC Configurations175
45.Survive Catastrophic Internet Loss180
46.Humanize tcpdump Output183
47.Understand DNS Records and Tools189
48.Send and Receive Email Without a Mail Client195
49.Why Do I Need sendmail?200
50.Hold Email for Later Delivery203
51.Get the Most Out of FTP206
52.Distributed Command Execution209
53.Interactive Remote Administration212
Chapter 6.Securing the System216
54.Strip the Kernel216
55.FreeBSD Access Control Lists225
56.Protect Files with Flags231
57.Tighten Security with Mandatory Access Control237
58.Use mtree as a Built-in Tripwire240
59.Intrusion Detection with Snort, ACID, MySQL, and FreeBSD245
60.Encrypt Your Hard Disk256
61.Sudo Gotchas261
62.sudoscript264
63.Restrict an SSH server269
64.Script IP Filter Rulesets272
65.Secure a Wireless Network Using PF275
66.Automatically Generate Firewall Rules279
67.Automate Security Patches283
68.Scan a Network of Windows Computers for Viruses286
Chapter 7.Going Beyond the Basics291
69.Tune FreeBSD for Different Applications291
70.Traffic Shaping on FreeBSD296
71.Create an Emergency Repair Kit302
72.Use the FreeBSD Recovery Process305
73.Use the GNU Debugger to Analyze a Buffer Overflow309
74.Consolidate Web Server Logs313
75.Script User Interaction318
76.Create a Trade Show Demo322
Chapter 8.Keeping Up-to-Date327
77.Automated Install327
78.FreeBSD From Scratch331
79.Safely Merge Changes to /etc336
80.Automate Updates340
81.Create a Package Repository344
82.Build a Port Without the Ports Tree347
83.Keep Ports Up-to-Date with CTM350
84.Navigate the Ports System353
85.Downgrade a Port357
86.Create Your Own Startup Scripts360
87.Automate NetBSD Package Builds364
88.Easily Install Unix Applications on Mac OS X367
Chapter 9.Grokking BSD371
89.How'd He Know That?371
90.Create Your Own Manpages374
91.Get the Most Out of Manpages378
92.Apply, Understand, and Create Patches381
93.Display Hardware Information386
94.Determine Who Is on the System390
95.Spelling Bee393
96.Leave on Time397
97.Run Native Java Applications399
98.Rotate Your Signature402
99.Useful One-Liners404
100.Fun with X407
Index411
From the B&N Reads Blog

Customer Reviews