Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Linux file compression tools

Up
vote
Down

Bzip2 consumes far more CPU cycles than gzip in order to produce its (sometimes considerably) smaller files.

Also, both gzip and bzip2 will accept data from standard input so that you can use them as filters. This is useful for speeding up the compression of program output -- and is also quite handy when you don't have enough disk space for both compressed and uncompressed copies of a file.
In *nix land, bz and gz are two of the most common compression formats. Typically you use the bzip2 utility to create bz files and gzip to create gz. The fundamental difference is in the compression algorithm used by bzip2, which results in considerably smaller files. The downside is that bzip2 eats up more memory.

To compress a file using gzip, use the command gzip filename . The result is a file named filename.gz. Thus the command gzip homepage.htm yields homepage.htm.gz.
 read more | mail this link | score:8093 | -Ray, September 10, 2005
More Sysadmin articles...

Abstract Art in North Florida

admin headlines

Gluster 3.4.2 on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Tutorial: Use Multiple PHP Versions (Ubuntu 13.04)

Tutorial: CentOS 6.4 Samba Standalone Server

Virtual Users and Domains with Postfix, Courier, MySQL, SquirrelMail (Fedora 18)

Virtual users with Postfix/Courier/MySQL/SquirrelMail (Ubuntu 12.10)

Tutorial: Ubuntu 11.10 Samba server with tdbsam

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin