<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: zcommands: Read gzip compressed text files on fly</title> <atom:link href="http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Danny</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-176493</link> <dc:creator>Danny</dc:creator> <pubDate>Mon, 05 Dec 2011 04:12:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-176493</guid> <description>you can also use gunzip -c, this will send file to standard output.. example:
$ sudo gunzip -c /var/log/dmesg.*.gz &#124; grep -i duplex
[   12.194310] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex
[   12.405853] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex
[   12.223136] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex
[   45.822750] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex</description> <content:encoded><![CDATA[<p>you can also use gunzip -c, this will send file to standard output.. example:</p><p>$ sudo gunzip -c /var/log/dmesg.*.gz | grep -i duplex<br
/> [   12.194310] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex<br
/> [   12.405853] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex<br
/> [   12.223136] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex<br
/> [   45.822750] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex</p> ]]></content:encoded> </item> <item><title>By: tarun</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-146948</link> <dc:creator>tarun</dc:creator> <pubDate>Wed, 28 Jan 2009 10:36:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-146948</guid> <description>it&#039;s very useful to handle zip file, it&#039;s special in grep format</description> <content:encoded><![CDATA[<p>it&#8217;s very useful to handle zip file, it&#8217;s special in grep format</p> ]]></content:encoded> </item> <item><title>By: Jeff Schroeder</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-141008</link> <dc:creator>Jeff Schroeder</dc:creator> <pubDate>Wed, 05 Sep 2007 05:37:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-141008</guid> <description>Or just make sure you are using gnu less because it autodetects and autodecompresses gzip / bz2 files for you.</description> <content:encoded><![CDATA[<p>Or just make sure you are using gnu less because it autodetects and autodecompresses gzip / bz2 files for you.</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140968</link> <dc:creator>vivek</dc:creator> <pubDate>Sat, 01 Sep 2007 09:50:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140968</guid> <description>gregf, oh yes I forgot about vim handling .gz file. Good reminder...
Binnay, another good  reminder
raj, no problem :D
Appreciate all of your posts!</description> <content:encoded><![CDATA[<p>gregf, oh yes I forgot about vim handling .gz file. Good reminder&#8230;</p><p>Binnay, another good  reminder</p><p>raj, no problem :D</p><p>Appreciate all of your posts!</p> ]]></content:encoded> </item> <item><title>By: raj</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140967</link> <dc:creator>raj</dc:creator> <pubDate>Sat, 01 Sep 2007 09:19:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140967</guid> <description>hey thanks for zcommand, really useful :D</description> <content:encoded><![CDATA[<p>hey thanks for zcommand, really useful :D</p> ]]></content:encoded> </item> <item><title>By: Binny V A</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140964</link> <dc:creator>Binny V A</dc:creator> <pubDate>Sat, 01 Sep 2007 05:35:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140964</guid> <description>For reading a BZipped file...
bzcat file.xml.bz2</description> <content:encoded><![CDATA[<p>For reading a BZipped file&#8230;<br
/> bzcat file.xml.bz2</p> ]]></content:encoded> </item> <item><title>By: gregf</title><link>http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140958</link> <dc:creator>gregf</dc:creator> <pubDate>Fri, 31 Aug 2007 20:28:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/decompress-and-expand-text-files.html#comment-140958</guid> <description>Another good thing to remember is vim can handle gzipped files so if your that anal over space you can still edit the file.</description> <content:encoded><![CDATA[<p>Another good thing to remember is vim can handle gzipped files so if your that anal over space you can still edit the file.</p> ]]></content:encoded> </item> </channel> </rss>
