You are previewing The Linux Command Line.

The Linux Command Line

Cover of The Linux Command Line by William E. Shotts Jr. Published by No Starch Press

Chapter 18. Archiving and Backup

One of the primary tasks of a computer system’s administrator is to keep the system’s data secure. One way this is done is by performing timely backups of the system’s files. Even if you’re not a system administrator, it is often useful to make copies of things and to move large collections of files from place to place and from device to device.

In this chapter, we will look at several common programs that are used to manage collections of files. There are the file compression programs:

  • gzip—Compress or expand files.

  • bzip2—A block sorting file compressor.

the archiving programs:

  • tar—Tape-archiving utility.

  • zip—Package and compress files.

and the file synchronization program:

  • rsync—Remote file and directory synchronization. ...

The best content for your career. Discover unlimited learning on demand for around $1/day.