<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bzgrep &#8211; VeriTeknik</title>
	<atom:link href="https://www.veriteknik.net.tr/en/tag/bzgrep/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.veriteknik.net.tr/en/</link>
	<description>VeriTeknik Bilişim &#124; VeriTeknik Bilişim</description>
	<lastBuildDate>Mon, 30 Apr 2012 14:04:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How to grep Compressed Files?</title>
		<link>https://www.veriteknik.net.tr/en/how-to-grep-compressed-files-over-ssh/</link>
					<comments>https://www.veriteknik.net.tr/en/how-to-grep-compressed-files-over-ssh/#respond</comments>
		
		<dc:creator><![CDATA[Cevdet Kaymaz]]></dc:creator>
		<pubDate>Mon, 30 Apr 2012 14:04:31 +0000</pubDate>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[LINUX Help]]></category>
		<category><![CDATA[bzgrep]]></category>
		<category><![CDATA[compressed]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[grep compressed file]]></category>
		<category><![CDATA[inside]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[zgrep]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=361</guid>

					<description><![CDATA[<p>Sometimes you need to search the contents of .gz files in your system. Unfortunately, grep doesn&#8217;t work on compressed files. To overcome this, people usually advise to first  uncompress the file(s), and then grep your text, after that finally re-compress your file(s)&#8230; You don&#8217;t need to uncompress them in the first place. You can use [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/how-to-grep-compressed-files-over-ssh/">How to grep Compressed Files?</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes you need to search the contents of .gz files in your system. Unfortunately, grep doesn&#8217;t work on compressed files. To overcome this, people usually advise to first  uncompress the file(s), and then grep your text, after that finally re-compress your file(s)&#8230;</p>
<p>You don&#8217;t need to uncompress them in the first place. You can use <strong>zgrep</strong> on compressed or gzipped files.</p>
<p><span id="more-361"></span></p>
<p>To search in compressed file, execute the command :<br />
<strong>root@ck [~]#zgrep &#8216;put-your-text-here&#8217; /your-file-path-here/file.gz</strong><br />
Example : I want to grep &#8216;plugged&#8217; in all of my exim_paniclog archived files.<br />
<strong>root@ck [~]# zgrep &#8216;plugged&#8217; /var/log/exim_paniclog.*</strong></p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/how-to-grep-compressed-files-over-ssh/">How to grep Compressed Files?</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/how-to-grep-compressed-files-over-ssh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">361</post-id>	</item>
	</channel>
</rss>
