14.06.2014 Views

Unix Power Tools

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part VII<br />

Extending and Managing Your Environment<br />

38. Backing Up Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 787<br />

38.1 What Is This “Backup” Thing? 787<br />

38.2 tar in a Nutshell 788<br />

38.3 Make Your Own Backups 788<br />

38.4 More Ways to Back Up 790<br />

38.5 How to Make Backups to a Local Device 790<br />

38.6 Restoring Files from Tape with tar 795<br />

38.7 Using tar to a Remote Tape Drive 797<br />

38.8 Using GNU tar with a Remote Tape Drive 798<br />

38.9 On-Demand Incremental Backups of a Project 798<br />

38.10 Using Wildcards with tar 800<br />

38.11 Avoid Absolute Paths with tar 803<br />

38.12 Getting tar’s Arguments in the Right Order 804<br />

38.13 The cpio Tape Archiver 805<br />

38.14 Industrial Strength Backups 806<br />

39. Creating and Reading Archives . . . . . . . . . . . . . . . . . . . . . . . 808<br />

39.1 Packing Up and Moving 808<br />

39.2 Using tar to Create and Unpack Archives 809<br />

39.3 GNU tar Sampler 813<br />

39.4 Managing and Sharing Files with RCS and CVS 814<br />

39.5 RCS Basics 815<br />

39.6 List RCS Revision Numbers with rcsrevs 817<br />

39.7 CVS Basics 818<br />

39.8 More CVS 819<br />

40. Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822<br />

40.1 /usr/bin and Other Software Directories 822<br />

40.2 The Challenges of Software Installation on <strong>Unix</strong> 824<br />

40.3 Which make? 824<br />

40.4 Simplifying the make Process 824<br />

40.5 Using Debian’s dselect 825<br />

40.6 Installing Software with Debian’s Apt-Get 832<br />

40.7 Interruptable gets with wget 834<br />

40.8 The curl Application and One-Step GNU-Darwin<br />

Auto-Installer for OS X 836<br />

40.9 Installation with FreeBSD Ports 837<br />

Table of Contents<br />

xxi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!