gzip, bzip2 and tar

EXPERT PACKING

Article from Issue 61/2005
Author(s):

A short command is all it takes to pack your data or extract it from an archive.

Archiving provides many benefits: packed and compressed files occupy less space on your disk and require less bandwidth on the Internet. Linux has both GUI-based programs, such as File Roller or Ark, and command-line tools for creating and unpacking various archive types. This article examines some shell tools for archiving files and demonstrates the kind of expert packing that clever combinations of Linux commands offer the command line user. Nicely Packed with "gzip"

The gzip (GNU Zip) program is the default packer on Linux. Gzip compresses simple files, but it does not create complete directory archives. In its simplest form, the gzip command looks like this:

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line: Archives

    Gzip and bzip2 not only compress files, they also provide lean and powerful tools for viewing, searching, and comparing text files.

  • File Management

    We give you an overview of commands for moving, editing, compressing, and generally manipulating files.

  • File Management

    We give you an overview of commands for moving, editing, compressing, and generally manipulating files.

  • Zip It

    Like other modern replacement commands, zstd offers significantly faster file compression than the standard archiving tools.

  • Zipline

    If you use file compression regularly, zip belongs in your Linux toolbox.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News