diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2011-04-25 13:37:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:45:18 +0200 |
commit | 75a4a592e5ccda30715f93563d741b83e0dcf39e (patch) | |
tree | 502f745607e77a2c4386ad38d818ddcafe81489c /slackbook/html/archive-files-bzip2.html | |
parent | b76270bf9e6dd375e495fec92140a79a79415d27 (diff) | |
download | current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.xz |
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011
Slackware 13.37 x86_64 stable is released!
Thanks to everyone who pitched in on this release: the Slackware team,
the folks producing upstream code, and linuxquestions.org for providing
a great forum for collaboration and testing.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
As always, thanks to the Slackware community for testing, suggestions,
and feedback. :-)
Have fun!
Diffstat (limited to 'slackbook/html/archive-files-bzip2.html')
-rw-r--r-- | slackbook/html/archive-files-bzip2.html | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/slackbook/html/archive-files-bzip2.html b/slackbook/html/archive-files-bzip2.html new file mode 100644 index 000000000..ea3a4e044 --- /dev/null +++ b/slackbook/html/archive-files-bzip2.html @@ -0,0 +1,103 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta name="generator" content="HTML Tidy, see www.w3.org" /> +<title>bzip2</title> +<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> +<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> +<link rel="UP" title="Archive Files" href="archive-files.html" /> +<link rel="PREVIOUS" title="Archive Files" href="archive-files.html" /> +<link rel="NEXT" title="tar" href="archive-files-tar.html" /> +<link rel="STYLESHEET" type="text/css" href="docbook.css" /> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +</head> +<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" +alink="#0000FF"> +<div class="NAVHEADER"> +<table summary="Header navigation table" width="100%" border="0" cellpadding="0" +cellspacing="0"> +<tr> +<th colspan="3" align="center">Slackware Linux Essentials</th> +</tr> + +<tr> +<td width="10%" align="left" valign="bottom"><a href="archive-files.html" +accesskey="P">Prev</a></td> +<td width="80%" align="center" valign="bottom">Chapter 15 Archive Files</td> +<td width="10%" align="right" valign="bottom"><a href="archive-files-tar.html" +accesskey="N">Next</a></td> +</tr> +</table> + +<hr align="LEFT" width="100%" /> +</div> + +<div class="SECT1"> +<h1 class="SECT1"><a id="ARCHIVE-FILES-BZIP2" name="ARCHIVE-FILES-BZIP2">15.2 <tt +class="COMMAND">bzip2</tt></a></h1> + +<p><tt class="COMMAND">bzip2</tt>(1) is an alternative compression program installed on +Slackware Linux. It uses a different compression algorithm from <tt +class="COMMAND">gzip</tt>, which results in some advantages and some disadvantages. The +main advantage for <tt class="COMMAND">bzip2</tt> is the compressed file size. <tt +class="COMMAND">bzip2</tt> will almost always compress better than <tt +class="COMMAND">gzip</tt>. In some instances, this can result in dramatically smaller +files. This can be a great advantage for people on slower modem connections. Also +remember, when downloading software from a public ftp server, it's generally good +netiquette to download the <tt class="FILENAME">.bz2</tt> files instead of the <tt +class="FILENAME">.gz</tt> files, as this results in less overhead for the generous people +hosting the server.</p> + +<p>The disadvantage to <tt class="COMMAND">bzip2</tt> is that it is more CPU intensive +than <tt class="COMMAND">gzip</tt>. This means that bzipping a file will generally take +longer and will use more of the CPU than gzipping the file would. When considering which +compression program to use, you must weigh this speed vs. compressed size and determine +which is more important.</p> + +<p>The usage of <tt class="COMMAND">bzip2</tt> is nearly identical to <tt +class="COMMAND">gzip</tt>, so not much time will be spent discussing it. Like <tt +class="COMMAND">gunzip</tt>, <tt class="COMMAND">bunzip2</tt> is identical to <tt +class="COMMAND">bzip2 -d</tt>. The primary difference in practical usage is that <tt +class="COMMAND">bzip2</tt> uses the <tt class="FILENAME">.bz2</tt> extension.</p> + +<table border="0" bgcolor="#E0E0E0" width="100%"> +<tr> +<td> +<pre class="SCREEN"> +<samp class="PROMPT">%</samp> <kbd class="USERINPUT">bzip2 <var +class="REPLACEABLE">filename</var></kbd> +<samp class="PROMPT">%</samp> <kbd class="USERINPUT">bunzip2 <var +class="REPLACEABLE">filename.bz2</var></kbd> +<samp class="PROMPT">%</samp> <kbd class="USERINPUT">bzip2 -9 <var +class="REPLACEABLE">filename</var></kbd> +</pre> +</td> +</tr> +</table> +</div> + +<div class="NAVFOOTER"> +<hr align="LEFT" width="100%" /> +<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" +cellspacing="0"> +<tr> +<td width="33%" align="left" valign="top"><a href="archive-files.html" +accesskey="P">Prev</a></td> +<td width="34%" align="center" valign="top"><a href="index.html" +accesskey="H">Home</a></td> +<td width="33%" align="right" valign="top"><a href="archive-files-tar.html" +accesskey="N">Next</a></td> +</tr> + +<tr> +<td width="33%" align="left" valign="top">Archive Files</td> +<td width="34%" align="center" valign="top"><a href="archive-files.html" +accesskey="U">Up</a></td> +<td width="33%" align="right" valign="top"><tt class="COMMAND">tar</tt></td> +</tr> +</table> +</div> +</body> +</html> + |