<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.cas.mcmaster.ca/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.cas.mcmaster.ca/index.php?action=history&amp;feed=atom&amp;title=Compress_to_and_Uncompress_a_.gz_file</id>
		<title>Compress to and Uncompress a .gz file - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.cas.mcmaster.ca/index.php?action=history&amp;feed=atom&amp;title=Compress_to_and_Uncompress_a_.gz_file"/>
		<link rel="alternate" type="text/html" href="http://wiki.cas.mcmaster.ca/index.php?title=Compress_to_and_Uncompress_a_.gz_file&amp;action=history"/>
		<updated>2026-04-25T19:33:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.1</generator>

	<entry>
		<id>http://wiki.cas.mcmaster.ca/index.php?title=Compress_to_and_Uncompress_a_.gz_file&amp;diff=37&amp;oldid=prev</id>
		<title>RobertLi:&amp;#32;New page:  == '''Compress to and Uncompress a .gz file''' ==   gzip utility will compress a file and create a .gz file:       gzip File_Name This will make the file File_Name replaced by a compresse...</title>
		<link rel="alternate" type="text/html" href="http://wiki.cas.mcmaster.ca/index.php?title=Compress_to_and_Uncompress_a_.gz_file&amp;diff=37&amp;oldid=prev"/>
				<updated>2007-04-09T20:21:55Z</updated>
		
		<summary type="html">&lt;p&gt;New page:  == &amp;#39;&amp;#39;&amp;#39;Compress to and Uncompress a .gz file&amp;#39;&amp;#39;&amp;#39; ==   gzip utility will compress a file and create a .gz file:       gzip File_Name This will make the file File_Name replaced by a compresse...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== '''Compress to and Uncompress a .gz file''' ==&lt;br /&gt;
 &lt;br /&gt;
gzip utility will compress a file and create a .gz file:&lt;br /&gt;
&lt;br /&gt;
     gzip File_Name&lt;br /&gt;
This will make the file File_Name replaced by a compressed file File_Name.gz. If you want keep the original file while creating a compressed .gz file, use the following command:&lt;br /&gt;
&lt;br /&gt;
     gzip -c File_Name &amp;gt; new_file.gz&lt;br /&gt;
To uncompress a .gz or .GZ file, use utility gzip or gunzip: &lt;br /&gt;
&lt;br /&gt;
	    gzip -d  File_Name.gz &lt;br /&gt;
or &lt;br /&gt;
	    gunzip  File_Name.gz &lt;br /&gt;
This will uncompress the file File_Name.gz, create a new file File_Name replacing File_Name.gz. &lt;br /&gt;
&lt;br /&gt;
If for some reasons you want to keep the compressed file, use the following command:&lt;br /&gt;
&lt;br /&gt;
	    gzip -dc  File_Name.gz&amp;gt;File_Name &lt;br /&gt;
or &lt;br /&gt;
	    gunzip  -c File_Name.gz&amp;gt;File_Name&lt;/div&gt;</summary>
		<author><name>RobertLi</name></author>	</entry>

	</feed>