<?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>Linux Tips And Tricks</title>
	<atom:link href="https://linuxtipsandtricks.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://linuxtipsandtricks.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 24 Aug 2021 12:30:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://linuxtipsandtricks.com/wp-content/uploads/2020/03/Profile-Logo.jpg</url>
	<title>Linux Tips And Tricks</title>
	<link>https://linuxtipsandtricks.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">74026962</site>	<item>
		<title>test</title>
		<link>https://linuxtipsandtricks.com/test/</link>
					<comments>https://linuxtipsandtricks.com/test/#respond</comments>
		
		<dc:creator><![CDATA[morins68]]></dc:creator>
		<pubDate>Tue, 25 May 2021 23:51:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://linuxtipsandtricks.com/?p=2133</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/test/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2133</post-id>	</item>
		<item>
		<title>Remove Character From Start of String</title>
		<link>https://linuxtipsandtricks.com/remove-character-start-string/</link>
					<comments>https://linuxtipsandtricks.com/remove-character-start-string/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Thu, 22 Jun 2017 00:00:15 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=390</guid>

					<description><![CDATA[When you need to remove character from the beginning of a string the easiest way to go is to use the 'cut' utility.Here is an example of how to remove character one to four of a string : 1 echo "This is a test" &#124; cut -c 1-4 This will output : &#160; This Share0 [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-page-section" data-css="tve-u-164e347b784">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom" data-css="tve-u-164e3482ed9"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-166599e16ea"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-164cd7e61cc"><h5 class="" style="color: rgb(21, 21, 21); margin-top: 0px; margin-bottom: 5px;">When you need to remove character from the beginning of a string the easiest way to go is to use the 'cut' utility.</h5><h5 class="">Here is an example of how to remove character one to four of a string :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-166599da8c2" style="">
<div class="tve-content-box-background" data-css="tve-u-166599da8c3" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-166599da8c6" style="">
<div class="tve-content-box-background" data-css="tve-u-166599da8c5"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-166599da8c9" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-166599da8cb" data-clip-id="8d5934a16e665"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-8d5934a16e665" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-8d5934a16e665)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-8d5934a16e665" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-8d5934a16e665)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-8d5934a16e665" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-166599da8c1"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-166599da8c8"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-166599da8cc"><p data-css="tve-u-166599da8c7" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-166599da8c4" style=""><div class="tcb-plain-text">echo "This is a test" | cut -c 1-4</div></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-164cd7b863a"><h5 class="" style="color: rgb(21, 21, 21); margin-top: 0px; margin-bottom: 5px;">This will output : &nbsp;</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-166599f45e6" style="">
<div class="tve-content-box-background" data-css="tve-u-166599f45e5"></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-166599f45f2"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-166599f45e8"><div class="tcb-plain-text">This</div></div></div>
</div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn" style="padding: 0px !important;" data-css="tve-u-164cd7f3469">
<div class="tve_social_items tve_social_custom tve_social_medium tve_social_itb tve_style_5" style="font-size: 12px;"><div class="tve_s_item tve_s_fb_share" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-type="feed">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-facebook" viewBox="0 0 16 28"><path d="M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_g_share" data-s="g_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share +1">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon"></span><span class="tve_s_text">Share +1</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_t_share" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-twitter" viewBox="0 0 26 28"><path d="M25.312 6.375q-1.047 1.531-2.531 2.609 0.016 0.219 0.016 0.656 0 2.031-0.594 4.055t-1.805 3.883-2.883 3.289-4.031 2.281-5.047 0.852q-4.234 0-7.75-2.266 0.547 0.063 1.219 0.063 3.516 0 6.266-2.156-1.641-0.031-2.938-1.008t-1.781-2.492q0.516 0.078 0.953 0.078 0.672 0 1.328-0.172-1.75-0.359-2.898-1.742t-1.148-3.211v-0.063q1.062 0.594 2.281 0.641-1.031-0.688-1.641-1.797t-0.609-2.406q0-1.375 0.688-2.547 1.891 2.328 4.602 3.727t5.805 1.555q-0.125-0.594-0.125-1.156 0-2.094 1.477-3.57t3.57-1.477q2.188 0 3.687 1.594 1.703-0.328 3.203-1.219-0.578 1.797-2.219 2.781 1.453-0.156 2.906-0.781z"></path></svg></span><span class="tve_s_text">Tweet</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_in_share" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-linkedin" viewBox="0 0 28 28"><path d="M5.453 9.766v15.484h-5.156v-15.484h5.156zM5.781 4.984q0.016 1.141-0.789 1.906t-2.117 0.766h-0.031q-1.281 0-2.063-0.766t-0.781-1.906q0-1.156 0.805-1.914t2.102-0.758 2.078 0.758 0.797 1.914zM24 16.375v8.875h-5.141v-8.281q0-1.641-0.633-2.57t-1.977-0.93q-0.984 0-1.648 0.539t-0.992 1.336q-0.172 0.469-0.172 1.266v8.641h-5.141q0.031-6.234 0.031-10.109t-0.016-4.625l-0.016-0.75h5.141v2.25h-0.031q0.313-0.5 0.641-0.875t0.883-0.812 1.359-0.68 1.789-0.242q2.672 0 4.297 1.773t1.625 5.195z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_pin_share" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-label="Pin">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-pinterest" viewBox="0 0 32 32"><path d="M16 0c-8.837 0-16 7.163-16 16 0 6.778 4.217 12.568 10.169 14.899-0.14-1.266-0.266-3.208 0.055-4.59 0.291-1.249 1.876-7.953 1.876-7.953s-0.479-0.958-0.479-2.375c0-2.225 1.29-3.886 2.895-3.886 1.365 0 2.024 1.025 2.024 2.254 0 1.373-0.874 3.425-1.325 5.327-0.377 1.593 0.799 2.892 2.369 2.892 2.844 0 5.030-2.999 5.030-7.327 0-3.831-2.753-6.509-6.683-6.509-4.552 0-7.225 3.415-7.225 6.943 0 1.375 0.53 2.85 1.191 3.651 0.131 0.158 0.15 0.297 0.111 0.459-0.121 0.506-0.391 1.593-0.444 1.815-0.070 0.293-0.232 0.355-0.535 0.214-1.998-0.93-3.248-3.852-3.248-6.198 0-5.047 3.667-9.682 10.572-9.682 5.55 0 9.864 3.955 9.864 9.241 0 5.514-3.477 9.952-8.302 9.952-1.621 0-3.145-0.842-3.667-1.837 0 0-0.802 3.055-0.997 3.803-0.361 1.39-1.337 3.132-1.989 4.195 1.497 0.463 3.088 0.713 4.738 0.713 8.836-0 16-7.163 16-16s-7.163-16-16-16z"></path></svg></span><span class="tve_s_text">Pin</span><span class="tve_s_count">0</span></a>
</div></div>
<div class="tve_social_overlay"></div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/remove-character-start-string/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">390</post-id>	</item>
		<item>
		<title>Keep or Remove The First Line From a File</title>
		<link>https://linuxtipsandtricks.com/keep-remove-first-line-file/</link>
					<comments>https://linuxtipsandtricks.com/keep-remove-first-line-file/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Wed, 21 Jun 2017 00:00:03 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=386</guid>

					<description><![CDATA[If you need to easily remove or keep the line at the beginning of the file you should use awk , it`s a powerful tool for simple or complex text manipulation. 1 Here is an example to show you how to&#160;REMOVE&#160;the line 1 to 4 of a file.cat file &#124; awk 'NR&#62;4' 2 Here is [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-page-section" data-css="tve-u-164e3532469">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom svg-shape-to-front" data-css="tve-u-164e34ddb73"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-16659a41c12"><div class="thrv_wrapper thrv_text_element"><h5 class="" data-css="tve-u-164c9d776aa">If you need to easily remove or keep the line at the beginning of the file you should use awk , it`s a powerful tool for simple or complex text manipulation.</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-16659a4288f">
<div class="tve-content-box-background" data-css="tve-u-16659a42890" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-16659a42893">
<div class="tve-content-box-background" data-css="tve-u-16659a42892"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-16659a42897" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7822cf93" data-clip-id="9252f03894daa"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-9252f03894daa" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-9252f03894daa)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-9252f03894daa" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-9252f03894daa)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-9252f03894daa" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-16659a4288d"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-16659a42896"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16659a42899"><p data-css="tve-u-16659a42895" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-16659a42891"><h5 class="" data-css="tve-u-164c9e0066d">Here is an example to show you how to&nbsp;<span data-css="tve-u-164ca39ff8c"><strong>REMOVE&nbsp;</strong></span>the line 1 to 4 of a file.</h5><h5 class="" data-css="tve-u-164c9e0066f">cat file | awk 'NR&gt;4'</h5></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-16659a4e361">
<div class="tve-content-box-background" data-css="tve-u-16659a51eed" data-clip-id="4b0b11952aef2"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-4b0b11952aef2" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-4b0b11952aef2)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-4b0b11952aef2" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-16659a42893">
<div class="tve-content-box-background" data-css="tve-u-16659a42892"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-16659a42897" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-16659a42898" data-clip-id="8d5934a16e665"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-8d5934a16e665" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-8d5934a16e665)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-8d5934a16e665" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-8d5934a16e665)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-8d5934a16e665" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-16659a4288d"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-16659a42896"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16659a42899"><p data-css="tve-u-16659a42895" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">2</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-16659a42891"><h5 data-css="tve-u-164ca2d5865" class="">Here is an example to show you how to&nbsp;<span data-css="tve-u-164ca3a39c3"><strong>KEEP&nbsp;</strong></span>the line 1 to 4 of a file.</h5><h5 data-css="tve-u-164ca2d7ba5" class="">cat file | awk 'NR&lt;=4'</h5></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element"><h5 data-css="tve-u-164c9d776aa" class="">NR in awk means : Number of Rows.</h5></div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn" style="padding: 0px !important;" data-css="tve-u-164ca2f0375">
<div class="tve_social_items tve_social_custom tve_social_medium tve_social_itb tve_style_5" style="font-size: 12px;"><div class="tve_s_item tve_s_fb_share" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-type="feed">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-facebook" viewBox="0 0 16 28"><path d="M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_g_share" data-s="g_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share +1">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon"></span><span class="tve_s_text">Share +1</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_t_share" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-twitter" viewBox="0 0 26 28"><path d="M25.312 6.375q-1.047 1.531-2.531 2.609 0.016 0.219 0.016 0.656 0 2.031-0.594 4.055t-1.805 3.883-2.883 3.289-4.031 2.281-5.047 0.852q-4.234 0-7.75-2.266 0.547 0.063 1.219 0.063 3.516 0 6.266-2.156-1.641-0.031-2.938-1.008t-1.781-2.492q0.516 0.078 0.953 0.078 0.672 0 1.328-0.172-1.75-0.359-2.898-1.742t-1.148-3.211v-0.063q1.062 0.594 2.281 0.641-1.031-0.688-1.641-1.797t-0.609-2.406q0-1.375 0.688-2.547 1.891 2.328 4.602 3.727t5.805 1.555q-0.125-0.594-0.125-1.156 0-2.094 1.477-3.57t3.57-1.477q2.188 0 3.687 1.594 1.703-0.328 3.203-1.219-0.578 1.797-2.219 2.781 1.453-0.156 2.906-0.781z"></path></svg></span><span class="tve_s_text">Tweet</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_in_share" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-linkedin" viewBox="0 0 28 28"><path d="M5.453 9.766v15.484h-5.156v-15.484h5.156zM5.781 4.984q0.016 1.141-0.789 1.906t-2.117 0.766h-0.031q-1.281 0-2.063-0.766t-0.781-1.906q0-1.156 0.805-1.914t2.102-0.758 2.078 0.758 0.797 1.914zM24 16.375v8.875h-5.141v-8.281q0-1.641-0.633-2.57t-1.977-0.93q-0.984 0-1.648 0.539t-0.992 1.336q-0.172 0.469-0.172 1.266v8.641h-5.141q0.031-6.234 0.031-10.109t-0.016-4.625l-0.016-0.75h5.141v2.25h-0.031q0.313-0.5 0.641-0.875t0.883-0.812 1.359-0.68 1.789-0.242q2.672 0 4.297 1.773t1.625 5.195z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_pin_share" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-label="Pin">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-pinterest" viewBox="0 0 32 32"><path d="M16 0c-8.837 0-16 7.163-16 16 0 6.778 4.217 12.568 10.169 14.899-0.14-1.266-0.266-3.208 0.055-4.59 0.291-1.249 1.876-7.953 1.876-7.953s-0.479-0.958-0.479-2.375c0-2.225 1.29-3.886 2.895-3.886 1.365 0 2.024 1.025 2.024 2.254 0 1.373-0.874 3.425-1.325 5.327-0.377 1.593 0.799 2.892 2.369 2.892 2.844 0 5.030-2.999 5.030-7.327 0-3.831-2.753-6.509-6.683-6.509-4.552 0-7.225 3.415-7.225 6.943 0 1.375 0.53 2.85 1.191 3.651 0.131 0.158 0.15 0.297 0.111 0.459-0.121 0.506-0.391 1.593-0.444 1.815-0.070 0.293-0.232 0.355-0.535 0.214-1.998-0.93-3.248-3.852-3.248-6.198 0-5.047 3.667-9.682 10.572-9.682 5.55 0 9.864 3.955 9.864 9.241 0 5.514-3.477 9.952-8.302 9.952-1.621 0-3.145-0.842-3.667-1.837 0 0-0.802 3.055-0.997 3.803-0.361 1.39-1.337 3.132-1.989 4.195 1.497 0.463 3.088 0.713 4.738 0.713 8.836-0 16-7.163 16-16s-7.163-16-16-16z"></path></svg></span><span class="tve_s_text">Pin</span><span class="tve_s_count">0</span></a>
</div></div>
<div class="tve_social_overlay"></div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/keep-remove-first-line-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">386</post-id>	</item>
		<item>
		<title>Remove Character From End of String in Linux</title>
		<link>https://linuxtipsandtricks.com/remove-character-end-string-linux/</link>
					<comments>https://linuxtipsandtricks.com/remove-character-end-string-linux/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Tue, 20 Jun 2017 00:00:12 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=382</guid>

					<description><![CDATA[Remove Character From End of String in LinuxOften you need to remove one or many character at the end of a string, but you don`t know the string lenght. When that happen there is a way to extract the character that you want no matter the lenght.For that technique to work you need to use [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-page-section" data-css="tve-u-165c90f1e53">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom" data-css="tve-u-165bc3c71e7"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-166598313fc"><div class="thrv_wrapper thrv_text_element" data-tag="h2" data-css="tve-u-165bc39a82c"><h2 class="" data-css="tve-u-165bc3a3f9f" style="text-align: center;"><strong>Remove Character From End of String in Linux</strong></h2></div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165bc398e04"><h5 class="" data-css="tve-u-16659854e33" data-unit="px" style="color: rgb(21, 21, 21); margin-top: 0px; margin-bottom: 5px; line-height: 30px;">Often you need to remove one or many character at the end of a string, but you don`t know the string lenght. When that happen there is a way to extract the character that you want no matter the lenght.</h5><h5 class="" data-css="tve-u-16659854e34" data-unit="px" style="color: rgb(21, 21, 21); margin-top: 10px !important; margin-bottom: 45px; line-height: 30px;">For that technique to work you need to use rev and cut , rev is a program that reverse the string it received and cut is a tool that extract part of string , either by field or by character.</h5><h5 class="" data-css="tve-u-16659854e35" data-unit="px" style="color: rgb(21, 21, 21); margin-top: 0px; margin-bottom: 45px; line-height: 30px;">In this example I will show you how to extract the last 4 charactere of a string.</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-166598420ac">
<div class="tve-content-box-background" data-css="tve-u-166598420ad" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-166598420b3">
<div class="tve-content-box-background" data-css="tve-u-166598420b1"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-166598420b6" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-166598420b7" data-clip-id="8d5934a16e665"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-8d5934a16e665" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-8d5934a16e665)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-8d5934a16e665" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-8d5934a16e665)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-8d5934a16e665" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-166598420ab"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-166598420b5"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-166598420b9"><p data-css="tve-u-166598420b4" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-166598420b0"><h5 data-unit="px" class="">echo $string | rev | cut -c 1-4 | rev</h5></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-16659879732"><h5 data-css="tve-u-16659854e33" data-unit="px" style="color: rgb(21, 21, 21); margin-top: 0px; margin-bottom: 5px; line-height: 30px;" class="">and with a value of "This is a great Rock Band" in the variable string, this will output :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-16659877100">
<div class="tve-content-box-background" data-css="tve-u-166598770fe"></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1665987710c"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16659877102"><p data-css="tve-u-16659877103">Band</p></div></div>
</div><div class="thrv_wrapper thrv-columns" data-css="tve-u-1664e9bcdad" style="--tcb-col-el-width:709;"><div class="tcb-flex-row tcb--cols--3 tcb-resized v-2 tcb-medium-no-wrap tcb-mobile-no-wrap" data-css="tve-u-1664e9b6752"><div class="tcb-flex-col" data-css="tve-u-1664e9cff7f" style=""><div class="tcb-col"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eabcb45"><h5 data-css="tve-u-165bc2c189c" data-unit="px" class="">echo $string</h5></div></div></div><div class="tcb-flex-col" data-css="tve-u-16659987623" style=""><div class="tcb-col" data-css="tve-u-166598fed14"><div class="thrv_wrapper thrv_icon tcb-icon-display" data-css="tve-u-1664e9eabb5"><svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-long-arrow-alt-right-regular" data-name="Alternate Long Arrow Right">
<path d="M340.485 366l99.03-99.029c4.686-4.686 4.686-12.284 0-16.971l-99.03-99.029c-7.56-7.56-20.485-2.206-20.485 8.485v71.03H12c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h308v71.03c0 10.689 12.926 16.043 20.485 8.484z"></path>
</svg></div></div></div><div class="tcb-flex-col" data-css="tve-u-16659987628" style=""><div class="tcb-col" data-css="tve-u-166598fb182"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eacfb0c"><h5 data-css="tve-u-1664e94b9a9" data-unit="px" class="">Send string to standard output.</h5></div></div></div></div></div><div class="thrv_wrapper thrv-columns" data-css="tve-u-166599704a1" style="--tcb-col-el-width:709;"><div class="tcb-flex-row tcb--cols--3 tcb-resized v-2 tcb-medium-no-wrap tcb-mobile-no-wrap" data-css="tve-u-1664e9b6752"><div class="tcb-flex-col" data-css="tve-u-1664e9cff7f" style=""><div class="tcb-col"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eabcb45"><h5 data-css="tve-u-165bc2c189d" data-unit="px" class="">rev</h5></div></div></div><div class="tcb-flex-col" data-css="tve-u-166599893a4" style=""><div class="tcb-col" data-css="tve-u-166598fed14"><div class="thrv_wrapper thrv_icon tcb-icon-display" data-css="tve-u-1664e9eabb5"><svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-long-arrow-alt-right-regular" data-name="Alternate Long Arrow Right">
<path d="M340.485 366l99.03-99.029c4.686-4.686 4.686-12.284 0-16.971l-99.03-99.029c-7.56-7.56-20.485-2.206-20.485 8.485v71.03H12c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h308v71.03c0 10.689 12.926 16.043 20.485 8.484z"></path>
</svg></div></div></div><div class="tcb-flex-col" data-css="tve-u-166599893a8" style=""><div class="tcb-col" data-css="tve-u-166598fb182"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eacfb0c"><h5 data-css="tve-u-1664e9562fe" data-unit="px" class="">Reverse the string.</h5></div></div></div></div></div><div class="thrv_wrapper thrv-columns" data-css="tve-u-16659977341" style="--tcb-col-el-width:709;"><div class="tcb-flex-row tcb--cols--3 tcb-resized v-2 tcb-medium-no-wrap tcb-mobile-no-wrap" data-css="tve-u-1664e9b6752"><div class="tcb-flex-col" data-css="tve-u-1664e9cff7f" style=""><div class="tcb-col"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eabcb45"><h5 data-css="tve-u-165bc2c189f" data-unit="px" class="">cut -c 1-4</h5></div></div></div><div class="tcb-flex-col" data-css="tve-u-1665998ad37" style=""><div class="tcb-col" data-css="tve-u-166598fed14"><div class="thrv_wrapper thrv_icon tcb-icon-display" data-css="tve-u-1664e9eabb5"><svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-long-arrow-alt-right-regular" data-name="Alternate Long Arrow Right">
<path d="M340.485 366l99.03-99.029c4.686-4.686 4.686-12.284 0-16.971l-99.03-99.029c-7.56-7.56-20.485-2.206-20.485 8.485v71.03H12c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h308v71.03c0 10.689 12.926 16.043 20.485 8.484z"></path>
</svg></div></div></div><div class="tcb-flex-col" data-css="tve-u-1665998ad3c" style=""><div class="tcb-col" data-css="tve-u-166598fb182"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eacfb0c"><h5 data-css="tve-u-1664e956bc3" data-unit="px" class="">Extract character one to four.</h5></div></div></div></div></div><div class="thrv_wrapper thrv-columns" data-css="tve-u-1665997dc32" style="--tcb-col-el-width:709;"><div class="tcb-flex-row tcb--cols--3 tcb-resized v-2 tcb-medium-no-wrap tcb-mobile-no-wrap" data-css="tve-u-1664e9b6752"><div class="tcb-flex-col" data-css="tve-u-1664e9cff7f" style=""><div class="tcb-col"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eabcb45"><h5 data-css="tve-u-165bc2c18a0" data-unit="px" class="">rev</h5></div></div></div><div class="tcb-flex-col" data-css="tve-u-1664e9cffa1" style=""><div class="tcb-col" data-css="tve-u-166598fed14"><div class="thrv_wrapper thrv_icon tcb-icon-display" data-css="tve-u-1664e9eabb5"><svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-long-arrow-alt-right-regular" data-name="Alternate Long Arrow Right">
<path d="M340.485 366l99.03-99.029c4.686-4.686 4.686-12.284 0-16.971l-99.03-99.029c-7.56-7.56-20.485-2.206-20.485 8.485v71.03H12c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h308v71.03c0 10.689 12.926 16.043 20.485 8.484z"></path>
</svg></div></div></div><div class="tcb-flex-col" data-css="tve-u-1664e9cffb2" style=""><div class="tcb-col" data-css="tve-u-166598fb182"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1664eacfb0c"><h5 data-css="tve-u-1664e957474" data-unit="px" class="">Reverse the string again to put it back in the orginal order.</h5></div></div></div></div></div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn" style="padding: 0px !important;" data-css="tve-u-1664eaff7c3">
<div class="tve_social_items tve_social_custom tve_social_medium tve_social_itb tve_style_5" style="font-size: 12px;"><div class="tve_s_item tve_s_fb_share" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-type="feed">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-facebook" viewBox="0 0 16 28"><path d="M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_g_share" data-s="g_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share +1">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon"></span><span class="tve_s_text">Share +1</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_t_share" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-twitter" viewBox="0 0 26 28"><path d="M25.312 6.375q-1.047 1.531-2.531 2.609 0.016 0.219 0.016 0.656 0 2.031-0.594 4.055t-1.805 3.883-2.883 3.289-4.031 2.281-5.047 0.852q-4.234 0-7.75-2.266 0.547 0.063 1.219 0.063 3.516 0 6.266-2.156-1.641-0.031-2.938-1.008t-1.781-2.492q0.516 0.078 0.953 0.078 0.672 0 1.328-0.172-1.75-0.359-2.898-1.742t-1.148-3.211v-0.063q1.062 0.594 2.281 0.641-1.031-0.688-1.641-1.797t-0.609-2.406q0-1.375 0.688-2.547 1.891 2.328 4.602 3.727t5.805 1.555q-0.125-0.594-0.125-1.156 0-2.094 1.477-3.57t3.57-1.477q2.188 0 3.687 1.594 1.703-0.328 3.203-1.219-0.578 1.797-2.219 2.781 1.453-0.156 2.906-0.781z"></path></svg></span><span class="tve_s_text">Tweet</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_in_share" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-linkedin" viewBox="0 0 28 28"><path d="M5.453 9.766v15.484h-5.156v-15.484h5.156zM5.781 4.984q0.016 1.141-0.789 1.906t-2.117 0.766h-0.031q-1.281 0-2.063-0.766t-0.781-1.906q0-1.156 0.805-1.914t2.102-0.758 2.078 0.758 0.797 1.914zM24 16.375v8.875h-5.141v-8.281q0-1.641-0.633-2.57t-1.977-0.93q-0.984 0-1.648 0.539t-0.992 1.336q-0.172 0.469-0.172 1.266v8.641h-5.141q0.031-6.234 0.031-10.109t-0.016-4.625l-0.016-0.75h5.141v2.25h-0.031q0.313-0.5 0.641-0.875t0.883-0.812 1.359-0.68 1.789-0.242q2.672 0 4.297 1.773t1.625 5.195z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_pin_share" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-label="Pin">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-pinterest" viewBox="0 0 32 32"><path d="M16 0c-8.837 0-16 7.163-16 16 0 6.778 4.217 12.568 10.169 14.899-0.14-1.266-0.266-3.208 0.055-4.59 0.291-1.249 1.876-7.953 1.876-7.953s-0.479-0.958-0.479-2.375c0-2.225 1.29-3.886 2.895-3.886 1.365 0 2.024 1.025 2.024 2.254 0 1.373-0.874 3.425-1.325 5.327-0.377 1.593 0.799 2.892 2.369 2.892 2.844 0 5.030-2.999 5.030-7.327 0-3.831-2.753-6.509-6.683-6.509-4.552 0-7.225 3.415-7.225 6.943 0 1.375 0.53 2.85 1.191 3.651 0.131 0.158 0.15 0.297 0.111 0.459-0.121 0.506-0.391 1.593-0.444 1.815-0.070 0.293-0.232 0.355-0.535 0.214-1.998-0.93-3.248-3.852-3.248-6.198 0-5.047 3.667-9.682 10.572-9.682 5.55 0 9.864 3.955 9.864 9.241 0 5.514-3.477 9.952-8.302 9.952-1.621 0-3.145-0.842-3.667-1.837 0 0-0.802 3.055-0.997 3.803-0.361 1.39-1.337 3.132-1.989 4.195 1.497 0.463 3.088 0.713 4.738 0.713 8.836-0 16-7.163 16-16s-7.163-16-16-16z"></path></svg></span><span class="tve_s_text">Pin</span><span class="tve_s_count">0</span></a>
</div></div>
<div class="tve_social_overlay"></div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/remove-character-end-string-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">382</post-id>	</item>
		<item>
		<title>Grep</title>
		<link>https://linuxtipsandtricks.com/grep/</link>
					<comments>https://linuxtipsandtricks.com/grep/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Thu, 15 Jan 2015 16:58:21 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[Grep]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=68</guid>

					<description><![CDATA[PDF Version Video Grep is one of the most usefull tool in linux or unix. With grep you can extract lines that correspond to certain criteria.&#160;The most basic way to use grep is the following : Syntax grep &#60;string&#62; &#60;file name&#62; Let suppose a file name “name” that contain the name of people.&#160;Here is what [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-columns" style="--tcb-col-el-width:736;"><div class="tcb-flex-row v-2 tcb-medium-no-wrap tcb-mobile-no-wrap tcb--cols--2" data-css="tve-u-1793dcf3ee4"><div class="tcb-flex-col" data-css="tve-u-1793dcf6784" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-button" data-css="tve-u-16658cc2020" data-tcb_hover_state_parent="">
<a href="http://linuxtipsandtricks.com/wp-content/uploads/2021/05/grep-v.pdf" class="tcb-button-link" rel="" target="_blank">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-16658cc2024">PDF Version</span></span>
</a>
</div></div></div><div class="tcb-flex-col" data-css="tve-u-1793dcf67b9"><div class="tcb-col"><div class="thrv_wrapper thrv-button" data-css="tve-u-16658cc2023" data-tcb_hover_state_parent="">
<a href="https://www.youtube.com/watch?v=TBAXarAQsC0&amp;t=5s" class="tcb-button-link" rel="" target="_blank">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-16658cc2025">Video</span></span>
</a>
</div></div></div></div></div><div class="thrv_wrapper thrv-page-section" style="">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom" data-css="tve-u-16658cc2054"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-16658d6d719"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16658e8eba3"><h5 class="">Grep is one of the most usefull tool in linux or unix. With grep you can extract lines that correspond to certain criteria.&nbsp;</h5><h5 class="">The most basic way to use grep is the following :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-16658cc205a" style="">
<div class="tve-content-box-background" data-css="tve-u-16658cc205b" data-clip-id="4ce86e7edfbdc"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-4ce86e7edfbdc" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-4ce86e7edfbdc)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-4ce86e7edfbdc" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793db20d17" style="">
<div class="tve-content-box-background" data-css="tve-u-16658cc205d"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1676fb53b42" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-1676fb532bb" data-clip-id="7f9ddb61662fb" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-7f9ddb61662fb" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-7f9ddb61662fb)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-7f9ddb61662fb" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-7f9ddb61662fb)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-7f9ddb61662fb" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-16658cc2058"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-16658cc2061"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793db375a0" style=""><h3 class="" style="text-align: center;" data-css="tve-u-1793db44617"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793db44649"><span style="font-size: 45px;" data-css="tve-u-1793db4464c">Syntax</span></span></h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793db22006" style="margin-top: 24px !important;"><h6 class="">grep &lt;string&gt; &lt;file name&gt;</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><h5 class="">Let suppose a file name “name” that contain the name of people.&nbsp;</h5><h5 class="">Here is what it contain:</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793dcfc001" style="">
<div class="tve-content-box-background" data-css="tve-u-16658cc202e"></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-16658d4f7a2"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16658cc2045"><div class="tcb-plain-text">Dany Moore</div><div class="tcb-plain-text">Steve Hawkins</div><div class="tcb-plain-text">Roger Hipkiss</div><div class="tcb-plain-text">Loy Hinton</div><div class="tcb-plain-text">Mandy Moore</div><div class="tcb-plain-text">Candy Diaz</div><div class="tcb-plain-text">Fernando Diaz</div></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">if you do :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793db80db8" style="">
<div class="tve-content-box-background" data-css="tve-u-17b7823d541" data-clip-id="15c4304d6339e"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-15c4304d6339e" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-15c4304d6339e)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-15c4304d6339e" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793db80dbf" style="">
<div class="tve-content-box-background" data-css="tve-u-1793db80dbb"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793db80dbe" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7823d551" data-clip-id="48fad24546188" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-48fad24546188" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-48fad24546188)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-48fad24546188" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-48fad24546188)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-48fad24546188" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793db80db7"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793db80dbc"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793db80dc1" style=""><h3 class="" style="text-align: center;" data-css="tve-u-1793db80dc2"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793db80dc3"><span style="font-size: 45px;" data-css="tve-u-1793db80dc5"></span></span>1</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793db80dc0" style="margin-top: 24px !important;"><h3 data-css="tve-u-16658cc203d" class="">Grep Moore name</h3></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16658df3789"><h5 class="">you will get :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-16658cc203e" style="" id="tva-res-1793db9018f">
<div class="tve-content-box-background" data-css="tve-u-16658cc202e"></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-16658d4f7a2"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16658cc2045"><div class="tcb-plain-text">Dany Moore</div><div class="tcb-plain-text">Mandy Moore</div></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16658dff287"><h5 class="">Or you can do :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793dba4f3f" style="" id="tva-res-1793db9947b">
<div class="tve-content-box-background" data-css="tve-u-1793db80db9" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793db80dbf" style="">
<div class="tve-content-box-background" data-css="tve-u-1793db80dbb"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793db80dbe" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-1793db80dbd" data-clip-id="d27b29e772be7" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-d27b29e772be7" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-d27b29e772be7)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-d27b29e772be7" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-d27b29e772be7)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-d27b29e772be7" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793db80db7"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793db80dbc"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793db80dc1" style=""><h3 class="" style="text-align: center;" data-css="tve-u-1793db80dc2"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793db80dc3"><span style="font-size: 45px;" data-css="tve-u-1793db80dc5"></span></span>2</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793db80dc0" style="margin-top: 24px !important;"><h3 data-css="tve-u-16658cc203d" class="">cat name | grep Moore</h3></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-16658cc2057" style=""><h5 class="">And still get the same result!</h5></div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn tve_share_left tve_style_8 tcb-mobile-hidden" style="margin-top: 0px !important; padding: 0px !important;" data-css="tve-u-16658cc2067" data-counts="" data-min_shares="0" data-device-config="{&quot;mobile&quot;:{&quot;button_type&quot;:&quot;tve_social_ib&quot;},&quot;desktop&quot;:{&quot;button_type&quot;:&quot;tve_social_itb&quot;}}">
<div class="tve_social_items tve_social_custom tve-prevent-content-edit tve_style_1 tve_social_itb">
	
		
		<div class="thrv_wrapper tve_s_item tve_s_fb_share tve_share_item" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-css="tve-u-1793dd3a57f">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 264 512" data-id="icon-fb" data-name="">
            <path d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_t_share tve_share_item" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet" data-css="tve-u-1793dd3a582">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 512 512" data-id="icon-t" data-name="">
            <path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Tweet</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_in_share tve_share_item" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-css="tve-u-1793dd3a584">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-in" data-name="">
            <path d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_pin_share tve_share_item" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Pin" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-css="tve-u-1793dd3a587">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 384 512" data-id="icon-pin" data-name="">
            <path d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Pin</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
	
</div>
</div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn tve_share_left tve_style_1 tcb-desktop-hidden tcb-tablet-hidden" style="padding: 0px !important;" data-css="tve-u-1793dd1e9d9" data-counts="" data-min_shares="0" data-device-config="{&quot;mobile&quot;:{&quot;button_type&quot;:&quot;tve_social_ib&quot;}}" id="tva-res-1793dd1e9e1">
<div class="tve_social_items tve_social_custom tve-prevent-content-edit tve_style_1 tve_social_ib">
	
		
		<div class="thrv_wrapper tve_s_item tve_s_fb_share tve_share_item" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-css="tve-u-1793dd2d2e1">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 264 512" data-id="icon-fb" data-name="">
            <path d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_t_share tve_share_item" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet" data-css="tve-u-1793dd2d2ed">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 512 512" data-id="icon-t" data-name="">
            <path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Tweet</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_in_share tve_share_item" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-css="tve-u-1793dd2d2ef">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-in" data-name="">
            <path d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_pin_share tve_share_item" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Pin" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-css="tve-u-1793dd2d2f1">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 384 512" data-id="icon-pin" data-name="">
            <path d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Pin</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
	
</div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/grep/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">68</post-id>	</item>
		<item>
		<title>The Grep RegEx Command</title>
		<link>https://linuxtipsandtricks.com/grep-regex/</link>
					<comments>https://linuxtipsandtricks.com/grep-regex/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Sat, 10 Jan 2015 00:53:19 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[Grep]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=55</guid>

					<description><![CDATA[PDF Version Video If you consider the following file : drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Desktopdrwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templatesdrwxrwxr-- 2 morins morins 4096 Feb 21 2014 Publicdrwxrwxr-- 2 morins morins 4096 Feb 21 2014 Picturesdrwxrwxr-- 2 morins morins 4096 Feb 21 2014 Musicdrwxrwxr-- 2 morins morins 4096 [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-page-section" style="" data-css="tve-u-1665ae52257">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom" data-css="tve-u-1665a5fe65e"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-1665a63f53b"><div class="thrv_wrapper thrv-columns" style="--tcb-col-el-width:751;" data-css="tve-u-1793f297f26"><div class="tcb-flex-row v-2 tcb-medium-no-wrap tcb-mobile-no-wrap tcb--cols--2" style="" data-css="tve-u-1793f1c46ff"><div class="tcb-flex-col" data-css="tve-u-1793f1bd331" style=""><div class="tcb-col" data-css="tve-u-1793f1c00a4" style=""><div class="thrv_wrapper thrv-button" data-css="tve-u-1665a5fe62a" data-tcb_hover_state_parent="">
<a href="http://linuxtipsandtricks.com/wp-content/uploads/2015/01/grepregex.pdf" class="tcb-button-link" rel="">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-1665a5fe62e">PDF Version</span></span>
</a>
</div></div></div><div class="tcb-flex-col" data-css="tve-u-1793f1bd373" style=""><div class="tcb-col" data-css="tve-u-1793f1c09f2" style=""><div class="thrv_wrapper thrv-button" data-css="tve-u-1665a5fe62d" data-tcb_hover_state_parent="">
<a href="https://www.youtube.com/watch?v=VV5rLEfi2G8" class="tcb-button-link" rel="">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-1665a5fe630">Video</span></span>
</a>
</div></div></div></div></div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a6716c2"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">If you consider the following file :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a676e08" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f2b07a5" style=""><p style="margin-bottom: 0px;" data-css="tve-u-1793f2addf1">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Desktop<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templates<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Public<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Music<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Downloads<br>drwxrwxr-- 5 morins morins 4096 Oct 7 16:40 kdenlive<br>drwxrwxr-- 2 morins morins 4096 Oct 7 16:42 Videos<br>-rw-rw-r-- 1 morins morins 337597 Oct 7 16:53 out.ogv<br>drwxrwxr-- 2 morins morins 4096 Oct 7 20:19 Documents<br>-rw-r--r-- 1 morins morins 447 Dec 8 19:30 color.txt<br>-rwxrwxr-- 1 morins morins 408 Dec 8 19:30 color.sh<br>-rwxrwxr-- 1 morins morins 624 Dec 8 19:30 color4.sh<br>-rwxrwxr-- 1 morins morins 623 Dec 8 19:30 color3.sh<br>-rwxrwxr-- 1 morins morins 1126 Dec 8 19:30 color2.sh<br>-rwxrwxr-- 1 morins morins 3076 Dec 8 19:30 test2<br>-rwxrwxr-- 1 morins morins 662 Dec 8 19:30 test<br>-rwxrwxr-- 1 morins morins 72 Dec 8 19:30 scripts.sh<br>-rwxrwxr-- 1 morins morins 68 Dec 8 19:30 quotes.sh<br>-rw-r--r-- 1 morins morins 88 Dec 8 19:30 name<br>-rwxrwxr-- 1 morins morins 134 Dec 8 19:30 format.sh<br>-rw-r--r-- 1 morins morins 8980 Dec 8 19:30 examples.desktop<br>-rw-r--r-- 1 morins morins 229 Dec 8 19:30 test.txt<br>-rw-r--r-- 1 morins morins 229 Dec 8 19:30 test3.txt<br>-rwxrwxr-- 1 morins morins 4373 Dec 8 19:30 test3<br>-rw-r--r-- 1 morins morins 229 Dec 8 19:30 test2.txt<br>-rwx------ 1 morins morins 113 Dec 8 19:55 t<br>-rwx------ 1 morins morins 228 Dec 30 22:57 test_zenity.sh</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a6716c2" id="tva-res-17941db041a"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">You do the command :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793f103b12" style="">
<div class="tve-content-box-background" data-css="tve-u-17b7823d90a" data-clip-id="2ceb493411f86"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-2ceb493411f86" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-2ceb493411f86)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-2ceb493411f86" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b19" style="">
<div class="tve-content-box-background" data-css="tve-u-1793f103b14"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b17" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7823d914" data-clip-id="8e53f8a04c952" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-8e53f8a04c952" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-8e53f8a04c952)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-8e53f8a04c952" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-8e53f8a04c952)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-8e53f8a04c952" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793f103b11"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793f103b15"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f103b1b" style=""><h3 class="">1</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793f103b1a" style="margin-top: 24px !important;"><h6 class="">ls –ltr | grep d</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ab1444b"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">you will get &nbsp;:</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665ab116c7" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a5fe650"><p style="margin-bottom: 0px;" data-css="tve-u-1793f2c6cdf">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Desktop<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templates<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Public<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Music<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Downloads<br>drwxrwxr-- 5 morins morins 4096 Oct 7 16:40 kdenlive<br>drwxrwxr-- 2 morins morins 4096 Oct 7 16:42 Videos<br>drwxrwxr-- 2 morins morins 4096 Oct 7 20:19 Documents<br>-rw-r--r-- 1 morins morins 8980 Dec 8 19:30 examples.desktop</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><h5 class="" data-css="tve-u-1793f20d5cd" style="">Ok you get all the folder , which is what you want , but you also get the file examples.desktop which you don’t want.</h5><h5 class="" style="">So instead you will do :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793f103b12" style="" id="tva-res-1793f116399">
<div class="tve-content-box-background" data-css="tve-u-17b7823d917" data-clip-id="7b1893b340e6b"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-7b1893b340e6b" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-7b1893b340e6b)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-7b1893b340e6b" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b19" style="">
<div class="tve-content-box-background" data-css="tve-u-1793f103b14"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b17" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7823d91e" data-clip-id="f7af5005c8835" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-f7af5005c8835" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-f7af5005c8835)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-f7af5005c8835" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-f7af5005c8835)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-f7af5005c8835" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793f103b11"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793f103b15"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f103b1b" style=""><h3 class="" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793f103b1d"><span style="font-size: 45px;" data-css="tve-u-1793f103b1e"></span></span>2</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793f103b1a" style="margin-top: 24px !important;"><h6 class="">ls –ltr | grep “^d”</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ab5ec76"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">you get &nbsp;:</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665ab64e02" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a5fe650"><p style="margin-bottom: 0px;" data-css="tve-u-1793f2d4249">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Desktop<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templates<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Public<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Music<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Downloads<br>drwxrwxr-- 5 morins morins 4096 Oct 7 16:40 kdenlive<br>drwxrwxr-- 2 morins morins 4096 Oct 7 16:42 Videos<br>drwxrwxr-- 2 morins morins 4096 Oct 7 20:19 Documents</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ab7ae54" data-tag="h3"><h5 class="">The (carret) ^ indicate the beginning of the file , so it means every lines that start with letter ‘d’</h5><h5 class="">Now if you want let say to have all the file that end with an ‘s’.</h5><h5 class=""><strong>You will do the grep regex command :</strong></h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793f103b12" style="" id="tva-res-1793f11f9c4">
<div class="tve-content-box-background" data-css="tve-u-17b7823d924" data-clip-id="0a29290d3d59b"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-0a29290d3d59b" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-0a29290d3d59b)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-0a29290d3d59b" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b19" style="">
<div class="tve-content-box-background" data-css="tve-u-1793f103b14"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b17" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7823d92b" data-clip-id="1e6e7dc7d0f41" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-1e6e7dc7d0f41" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-1e6e7dc7d0f41)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-1e6e7dc7d0f41" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-1e6e7dc7d0f41)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-1e6e7dc7d0f41" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793f103b11"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793f103b15"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f103b1b" style=""><h3 class="" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793f103b1d"><span style="font-size: 45px;" data-css="tve-u-1793f103b1e"></span></span>3</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793f103b1a" style="margin-top: 24px !important;"><h6 class="">ls –ltr | grep “s$”</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ab91105" data-tag="h5"><h5 class="">and you get &nbsp;:</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665ab95b58" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a5fe650"><p spellcheck="true" style="" data-css="tve-u-1793f2d5cf4">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templates</p><p spellcheck="false" style="" data-css="tve-u-1793f2d5cf6">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures</p><p spellcheck="false" style="" data-css="tve-u-1793f2d5cf7">drwxrwxr-- 6 morins morins 4096 Oct 12 2015 Downloads</p><p spellcheck="false" style="" data-css="tve-u-1793f2d5cf9">drwxrwxr-- 2 morins morins 4096 Oct 25 2015 Videos</p><p spellcheck="false" style="" data-css="tve-u-1793f2d5cfb">drwxrwxr-x 2 morins morins 4096 Nov 1 2015 scripts</p><p style="" data-css="tve-u-1793f2d5cfc">drwxrwxr-- 2 morins morins 4096 Mar 6 21:11 Documents</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ab9e327"><h5 class="" data-css="tve-u-1793f213b08" style="">It means all lines that contain ‘s’ immediately folowed by the end of the line.</h5><h5 class="" data-css="tve-u-1793f213b0d" style="">Now let say you want to select all lines with a folder of month feb.</h5><h5 class="" style="">You could do :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793f103b12" style="" id="tva-res-1793f129ef8">
<div class="tve-content-box-background" data-css="tve-u-17b7823d933" data-clip-id="0de63c3342c5b"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-0de63c3342c5b" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-0de63c3342c5b)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-0de63c3342c5b" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b19" style="">
<div class="tve-content-box-background" data-css="tve-u-1793f103b14"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b17" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7823d939" data-clip-id="d934db9579274" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-d934db9579274" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-d934db9579274)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-d934db9579274" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-d934db9579274)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-d934db9579274" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793f103b11"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793f103b15"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f103b1b" style=""><h3 class="" style="text-align: center;" data-css="tve-u-1793f103b1c"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793f103b1d"><span style="font-size: 45px;" data-css="tve-u-1793f103b1e"></span></span>4</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793f103b1a" style="margin-top: 24px !important;"><h6 class="">s –ltr | grep “^d.*Feb”</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665acae340"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">you would obtain &nbsp;:</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665acab304" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ae3393e"><p spellcheck="true" style="" data-css="tve-u-1793f2d9af8">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Desktop<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templates<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Public<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Music<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Downloads</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665acc31a0"><h5 class="" data-css="tve-u-1793f218cfc" style="">That means , give me the lines that start with a ‘d’ , have any charactere many time, folow by ‘Feb’ , don’t forget the ‘F’ in caps is essential , because linux is case sensitive.</h5><h5 class="" style="">Here are some basic symbol definition :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665ac434f3" style="">
<div class="tve-content-box-background"></div>
<div class="tve-cb" data-css="tve-u-1665ac8d622"><div class="thrv_wrapper thrv_table tcb-fixed" data-css="tve-u-1665abc159e"><table data-rows="6" data-cols="2" class="tve_table tcb-fixed tve_no_inner_border tve_table_flat" data-css="tve-u-1665abb5cbb"><thead><tr class="tve_table_row"><th class="tve_table_cell" data-css="tve-u-1665ac1da2d" style=""><div class="thrv_wrapper thrv_text_element" data-tag="h5"><h5 class="tve_p_center">Symbol</h5></div></th><th class="tve_table_cell" data-css="tve-u-1665ac24a34" style=""><div class="thrv_wrapper thrv_text_element" data-tag="h5" data-css="tve-u-1665ac293b2"><h5 style="text-align: left;" class="">Definition</h5></div></th></tr></thead><tbody><tr class="tve_table_row"><td class="tve_table_cell" data-css="tve-u-1793f242eb0" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665abe3777"><div class="tcb-plain-text" style="text-align: center;"><strong>^</strong></div></div></td><td class="tve_table_cell" data-css="tve-u-1793f242eb4" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ac2b473"><div class="tcb-plain-text" style="text-align: left;"><strong>Beginning of the line</strong></div></div></td></tr><tr class="tve_table_row"><td class="tve_table_cell" data-css="tve-u-1793f242eb7" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665abdcc7e"><div class="tcb-plain-text" style="text-align: center;"><strong>$</strong></div></div></td><td class="tve_table_cell" data-css="tve-u-1793f242ebb" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ac2be38"><div class="tcb-plain-text" style="text-align: left;"><strong>End of the line</strong></div></div></td></tr><tr class="tve_table_row"><td class="tve_table_cell" data-css="tve-u-1793f242ec0" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665abdf47e"><p data-css="tve-u-1665abd6580" style="text-align: center;"><strong>.</strong></p></div></td><td class="tve_table_cell" data-css="tve-u-1793f242ec8" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ac2c6f3"><div class="tcb-plain-text" style="text-align: left;"><strong>Any charactere</strong></div></div></td></tr><tr class="tve_table_row"><td class="tve_table_cell" data-css="tve-u-1793f242ecb" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665abdec89"><div class="tcb-plain-text" style="text-align: center;"><strong>*</strong></div></div></td><td class="tve_table_cell" data-css="tve-u-1793f242ece" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ac2d439"><div class="tcb-plain-text" style="text-align: left;"><strong>One or many time the preceding charactere or symbol</strong></div></div></td></tr><tr class="tve_table_row"><td class="tve_table_cell" data-css="tve-u-1793f242ed1" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665abe4565"><div class="tcb-plain-text" style="text-align: center;"><strong>[]</strong></div></div></td><td class="tve_table_cell" data-css="tve-u-1793f242ed3" style=""><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ac2dd02"><div class="tcb-plain-text" style="text-align: left;"><strong>Selection of possible charactere</strong></div></div></td></tr></tbody></table></div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665acbf593"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">you can also do &nbsp;:</h5></div></div>
</div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793f103b12" style="" id="tva-res-1793f138094">
<div class="tve-content-box-background" data-css="tve-u-17b7823d944" data-clip-id="0a8e99bcb8288"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-0a8e99bcb8288" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-0a8e99bcb8288)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-0a8e99bcb8288" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b19" style="">
<div class="tve-content-box-background" data-css="tve-u-1793f103b14"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b17" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7823d951" data-clip-id="8c3f02bf0a529" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-8c3f02bf0a529" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-8c3f02bf0a529)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-8c3f02bf0a529" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-8c3f02bf0a529)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-8c3f02bf0a529" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793f103b11"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793f103b15"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f103b1b" style=""><h3 class="" style="text-align: center;" data-css="tve-u-1793f103b1c"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793f103b1d"><span style="font-size: 45px;" data-css="tve-u-1793f103b1e"></span></span>5</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793f103b1a" style="margin-top: 24px !important;"><h6 class="">ls –ltr | grep “[FND]eb”</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665acd95af"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">the result is &nbsp;:</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665acd5e15" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a5fe650"><p spellcheck="true" style="" data-css="tve-u-1793f2db918">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Desktop<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Templates<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Public<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Music<br>drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Downloads</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ab1efab"><h5 class="">Like that you will get any lines that contain either Feb, Neb or Deb , but as in our list only the folder correspond to that and there is no lines with either Neb or Deb we got the same lines as per the preceding example.</h5><h5 class=""><strong>For example if you do &nbsp;:</strong></h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1793f103b12" style="" id="tva-res-1793f13c69e">
<div class="tve-content-box-background" data-css="tve-u-1793f103b13" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b19" style="">
<div class="tve-content-box-background" data-css="tve-u-1793f103b14"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1793f103b17" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-1793f103b16" data-clip-id="d27b29e772be7" style=""><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-d27b29e772be7" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="10" style="" clip-path="url(#clip-right-d27b29e772be7)"><polygon points="0 0, 0 1, 5.6713 0, 1 0"></polygon></clipPath><clipPath id="clip-right-d27b29e772be7" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="10" clip-path="url(#clip-top-d27b29e772be7)"><polygon points="0 0, 0 1, 1 1, 0.8237 0"></polygon></clipPath><clipPath id="clip-top-d27b29e772be7" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1793f103b11"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1793f103b15"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1793f103b1b" style=""><h3 class="" style="text-align: center;" data-css="tve-u-1793f103b1c"><span style="font-family: Arimo; font-weight: 400;" data-css="tve-u-1793f103b1d"><span style="font-size: 45px;" data-css="tve-u-1793f103b1e"></span></span>6</h3></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1793f103b1a" style="margin-top: 24px !important;"><h6 class="">ls –ltr | grep “[PV]i”</h6></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665ac9d96b"><h5 class="" style="margin: 0px; color: rgb(21, 21, 21);">you get :</h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a5fe649" style="">
<div class="tve-content-box-background" data-css="tve-u-1665a5fe638"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a5fe650"><p style="" data-css="tve-u-1793f2dd25b">drwxrwxr-- 2 morins morins 4096 Feb 21 2014 Pictures</p><p style="" data-css="tve-u-1793f2dd25d">drwxrwxr-- 2 morins morins 4096 Oct 7 16:42 Videos</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" style="" data-css="tve-u-1793f25d9b8"><h5 class="" style="margin: 0px;">Because it’s the only lines that contain either ‘Pi’ or ‘Vi”.</h5></div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn tve_share_left tcb-mobile-hidden tve_style_1" style="padding: 0px !important;" data-css="tve-u-1665a5fe671" data-counts="" data-min_shares="0" data-device-config="{&quot;mobile&quot;:{&quot;button_type&quot;:&quot;tve_social_ib&quot;},&quot;tablet&quot;:{&quot;button_type&quot;:&quot;tve_social_itb&quot;}}">
<div class="tve_social_items tve_social_custom tve-prevent-content-edit tve_style_1 tve_social_itb">
	
		
		<div class="thrv_wrapper tve_s_item tve_s_fb_share tve_share_item" data-s="fb_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Share" data-css="tve-u-1793f30247f">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 264 512" data-id="icon-fb" data-name="">
            <path d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_t_share tve_share_item" data-s="t_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Tweet" data-css="tve-u-1793f302482">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 512 512" data-id="icon-t" data-name="">
            <path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Tweet</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_in_share tve_share_item" data-s="in_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Share" data-css="tve-u-1793f302485">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-in" data-name="">
            <path d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_pin_share tve_share_item" data-s="pin_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Pin" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-css="tve-u-1793f302488">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 384 512" data-id="icon-pin" data-name="">
            <path d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Pin</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
	
</div>
</div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn tve_share_left tve_style_11 tcb-tablet-hidden tcb-desktop-hidden" style="padding: 0px !important;" data-css="tve-u-1793f2f5cf6" data-counts="" data-min_shares="0" data-device-config="{&quot;mobile&quot;:{&quot;button_type&quot;:&quot;tve_social_ib&quot;}}" id="tva-res-1793f2f5d06">
<div class="tve_social_items tve_social_custom tve-prevent-content-edit tve_style_11 tve_social_ib">
	
		
		<div class="thrv_wrapper tve_s_item tve_s_fb_share tve_share_item" data-s="fb_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Share" data-css="tve-u-1793f2f5cfa">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 264 512" data-id="icon-fb" data-name="">
            <path d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_t_share tve_share_item" data-s="t_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Tweet" data-css="tve-u-1793f2f5cfd">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 512 512" data-id="icon-t" data-name="">
            <path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Tweet</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_in_share tve_share_item" data-s="in_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Share" data-css="tve-u-1793f2f5d00">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 448 512" data-id="icon-in" data-name="">
            <path d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Share</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
		<div class="thrv_wrapper tve_s_item tve_s_pin_share tve_share_item" data-s="pin_share" data-href="https://linuxtipsandtricks.com/grep-regex/" data-label="Pin" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-css="tve-u-1793f2f5d02">
			<a href="javascript:void(0)" class="tve_s_link">
				<span class="thrv_wrapper tve_s_icon">
					<svg class="tcb-icon" viewBox="0 0 384 512" data-id="icon-pin" data-name="">
            <path d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path>
        </svg>
				</span>
				<span class="tve_s_text tve-froala">Pin</span>
				<span class="tve_s_count">0</span>
			</a>
		</div>
		
	
</div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/grep-regex/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">55</post-id>	</item>
		<item>
		<title>The Reverse Grep</title>
		<link>https://linuxtipsandtricks.com/grep-v/</link>
					<comments>https://linuxtipsandtricks.com/grep-v/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Mon, 05 Jan 2015 03:58:46 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[Grep]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=51</guid>

					<description><![CDATA[PDF Version Video The reverse grepGrep –v &#160;stand for inverse. &#160;With grep –v you can extract lines that correspond to the opposite of your search criteria.Let suppose a file name “name” that contain the name of many people , here is what it contain: Dany MooreSteve HawkinsRoger HipkissLoy HintonMandy MooreCandy DiazFernando Diaz If you do [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-page-section">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom" data-css="tve-u-164e71d45b2"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165c9176eb3">
<div class="tve-content-box-background"></div>
<div class="tve-cb"><div class="thrv_wrapper thrv-columns" data-css="tve-u-164e7051d50" style="--tcb-col-el-width:732;"><div class="tcb-flex-row tcb--cols--1" data-css="tve-u-164e7051d51"><div class="tcb-flex-col" data-css="tve-u-164e7051d52" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-columns" data-css="tve-u-164e7051d53" style="--tcb-col-el-width:732;"><div class="tcb-flex-row tcb-resized tcb--cols--3" data-css="tve-u-164e7051d54"><div class="tcb-flex-col c-50" data-css="tve-u-164e7051d55" style=""><div class="tcb-col"></div></div><div class="tcb-flex-col c-25" data-css="tve-u-164e7051d56" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-button" data-css="tve-u-164e7051d57" data-tcb_hover_state_parent="">
<a href="http://linuxtipsandtricks.com/wp-content/uploads/2015/01/grep-v.pdf" class="tcb-button-link">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-164e7051d58">PDF Version</span></span>
</a>
</div></div></div><div class="tcb-flex-col c-25" data-css="tve-u-164e7051d59" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-button" data-css="tve-u-164e7051d5a" data-tcb_hover_state_parent="">
<a href="https://youtu.be/eCr2kXQjppM" class="tcb-button-link">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-164e7051d5b">Video</span></span>
</a>
</div></div></div></div></div></div></div></div></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-tag="h2" data-css="tve-u-165c91880d4"><h1 data-css="tve-u-164e7051d5c" style="text-align: center;" class=""><strong><a href="http://linuxtipsandtricks.com/wp-admin/post.php?post=12&amp;action=edit"></a></strong><strong>The reverse grep</strong></h1></div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><p data-css="tve-u-164e70ce6f7" spellcheck="false" style="margin: 0px; color: rgb(21, 21, 21);">Grep –v &nbsp;stand for inverse. &nbsp;With grep –v you can extract lines that correspond to the opposite of your search criteria.</p><p data-css="tve-u-164e70ce6f9" style="margin: 0px; color: rgb(21, 21, 21);">Let suppose a file name “name” that contain the name of many people , here is what it contain:</p></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-164e70985f8">
<div class="tve-content-box-background" data-css="tve-u-164e70985f7"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-164e70a2802"><p data-css="tve-u-164e70a7d29" style="margin-bottom: 0px;">Dany Moore</p><p data-css="tve-u-164e70a7d2a" style="margin-bottom: 0px;">Steve Hawkins</p><p data-css="tve-u-164e70a7d2c" style="margin-bottom: 0px;">Roger Hipkiss</p><p data-css="tve-u-164e70a7d2d" style="margin-bottom: 0px;">Loy Hinton</p><p data-css="tve-u-164e70a7d30" style="margin-bottom: 0px;">Mandy Moore</p><p data-css="tve-u-164e70a7d31" style="margin-bottom: 0px;">Candy Diaz</p><p data-css="tve-u-164e70a7d32" style="margin-bottom: 10px;">Fernando Diaz</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><p data-css="tve-u-164e70c8a2a" style="margin: 0px; color: rgb(21, 21, 21);">If you do :</p></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-165c91d3ff1">
<div class="tve-content-box-background" data-css="tve-u-165c91d3ff2" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165c91d3ff8">
<div class="tve-content-box-background" data-css="tve-u-165c91d3ff7"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165c91d3ffb" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-165c91d3ffd" data-clip-id="ccb8727fdfa2c"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-ccb8727fdfa2c" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-ccb8727fdfa2c)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-ccb8727fdfa2c" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-ccb8727fdfa2c)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-ccb8727fdfa2c" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-165c91d3fef"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-165c91d3ffa"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-165c91d3ffe"><p data-css="tve-u-165c91d3ff9" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165c91d3ff3"><h3 data-css="tve-u-164e70e6eed" class="">cat name | grep –v moore</h3></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><p style="margin: 0px; color: rgb(21, 21, 21);">you will get :</p></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-164e7136413">
<div class="tve-content-box-background" data-css="tve-u-164e70985f7"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-164e715d73a"><p data-css="tve-u-164e714d734" style="margin-bottom: 0px;">Steve Hawkins</p><p data-css="tve-u-164e714d737" style="margin-bottom: 0px;">Roger Hipkiss</p><p data-css="tve-u-164e714d739" style="margin-bottom: 0px;">Loy Hinton</p><p data-css="tve-u-164e714d73a" style="margin-bottom: 0px;">Candy Diaz</p><p data-css="tve-u-164e714d73b" style="margin-bottom: 10px;">Fernando Diaz</p></div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><p style="margin: 0px; color: rgb(21, 21, 21);">Or you can do :</p></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-164e718114b">
<div class="tve-content-box-background" data-css="tve-u-164e718114c" data-clip-id="6f0779e0dbd3"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-6f0779e0dbd3" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-6f0779e0dbd3)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-6f0779e0dbd3" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-164e7181151">
<div class="tve-content-box-background" data-css="tve-u-164e7181150"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-164e7181155" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-164e7181156" data-clip-id="e9f24667fafb6"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-e9f24667fafb6" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-e9f24667fafb6)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-e9f24667fafb6" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-e9f24667fafb6)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-e9f24667fafb6" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-164e7181149"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-164e7181153"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-164e7181157"><p data-css="tve-u-164e7181152" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">2</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-tag="h3"><h3 class="bold_text" data-css="tve-u-164e7187401" style="margin: 0px; padding-left: 25px; color: rgb(244, 244, 244); text-align: left;"><span class="tve_custom_font_size" data-css="tve-u-164e7187404" style="font-size: 21px;">grep –v moore name</span></h3></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-165c919c494"><p style="margin: 0px;"><font color="#151515">And still get the same result!</font></p></div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn" style="margin-top: 0px !important; padding: 0px !important;" data-css="tve-u-1664abe9ef7">
<div class="tve_social_items tve_social_custom tve_social_medium tve_social_itb tve_style_5" style="font-size: 12px;"><div class="tve_s_item tve_s_fb_share" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-type="feed">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-facebook" viewBox="0 0 16 28"><path d="M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_g_share" data-s="g_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share +1">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon"></span><span class="tve_s_text">Share +1</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_t_share" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-twitter" viewBox="0 0 26 28"><path d="M25.312 6.375q-1.047 1.531-2.531 2.609 0.016 0.219 0.016 0.656 0 2.031-0.594 4.055t-1.805 3.883-2.883 3.289-4.031 2.281-5.047 0.852q-4.234 0-7.75-2.266 0.547 0.063 1.219 0.063 3.516 0 6.266-2.156-1.641-0.031-2.938-1.008t-1.781-2.492q0.516 0.078 0.953 0.078 0.672 0 1.328-0.172-1.75-0.359-2.898-1.742t-1.148-3.211v-0.063q1.062 0.594 2.281 0.641-1.031-0.688-1.641-1.797t-0.609-2.406q0-1.375 0.688-2.547 1.891 2.328 4.602 3.727t5.805 1.555q-0.125-0.594-0.125-1.156 0-2.094 1.477-3.57t3.57-1.477q2.188 0 3.687 1.594 1.703-0.328 3.203-1.219-0.578 1.797-2.219 2.781 1.453-0.156 2.906-0.781z"></path></svg></span><span class="tve_s_text">Tweet</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_in_share" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-linkedin" viewBox="0 0 28 28"><path d="M5.453 9.766v15.484h-5.156v-15.484h5.156zM5.781 4.984q0.016 1.141-0.789 1.906t-2.117 0.766h-0.031q-1.281 0-2.063-0.766t-0.781-1.906q0-1.156 0.805-1.914t2.102-0.758 2.078 0.758 0.797 1.914zM24 16.375v8.875h-5.141v-8.281q0-1.641-0.633-2.57t-1.977-0.93q-0.984 0-1.648 0.539t-0.992 1.336q-0.172 0.469-0.172 1.266v8.641h-5.141q0.031-6.234 0.031-10.109t-0.016-4.625l-0.016-0.75h5.141v2.25h-0.031q0.313-0.5 0.641-0.875t0.883-0.812 1.359-0.68 1.789-0.242q2.672 0 4.297 1.773t1.625 5.195z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_pin_share" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-label="Pin">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-pinterest" viewBox="0 0 32 32"><path d="M16 0c-8.837 0-16 7.163-16 16 0 6.778 4.217 12.568 10.169 14.899-0.14-1.266-0.266-3.208 0.055-4.59 0.291-1.249 1.876-7.953 1.876-7.953s-0.479-0.958-0.479-2.375c0-2.225 1.29-3.886 2.895-3.886 1.365 0 2.024 1.025 2.024 2.254 0 1.373-0.874 3.425-1.325 5.327-0.377 1.593 0.799 2.892 2.369 2.892 2.844 0 5.030-2.999 5.030-7.327 0-3.831-2.753-6.509-6.683-6.509-4.552 0-7.225 3.415-7.225 6.943 0 1.375 0.53 2.85 1.191 3.651 0.131 0.158 0.15 0.297 0.111 0.459-0.121 0.506-0.391 1.593-0.444 1.815-0.070 0.293-0.232 0.355-0.535 0.214-1.998-0.93-3.248-3.852-3.248-6.198 0-5.047 3.667-9.682 10.572-9.682 5.55 0 9.864 3.955 9.864 9.241 0 5.514-3.477 9.952-8.302 9.952-1.621 0-3.145-0.842-3.667-1.837 0 0-0.802 3.055-0.997 3.803-0.361 1.39-1.337 3.132-1.989 4.195 1.497 0.463 3.088 0.713 4.738 0.713 8.836-0 16-7.163 16-16s-7.163-16-16-16z"></path></svg></span><span class="tve_s_text">Pin</span><span class="tve_s_count">0</span></a>
</div></div>
<div class="tve_social_overlay"></div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/grep-v/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">51</post-id>	</item>
		<item>
		<title>Case incensitive extraction with Grep</title>
		<link>https://linuxtipsandtricks.com/grep-i/</link>
					<comments>https://linuxtipsandtricks.com/grep-i/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Sat, 03 Jan 2015 20:35:30 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[Grep]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=46</guid>

					<description><![CDATA[PDF Version Video Grep -iGrep –i Stand for case insensitive. With grep –i you can extract lines that correspond to&#160;your search criteria no matter the cases.Let suppose a file name “name” that contain the name of many people.Here is what it contain: File Dany MooreSteve HawkinsRoger HipkissLoy HintonMandy MooreCandy DiazFernando Diaz if you do :you [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165cd9fecce">
<div class="tve-content-box-background"></div>
<div class="tve-cb"></div>
</div><div class="thrv_wrapper thrv-page-section" data-css="tve-u-165cb1e48a1">
<div class="tve-page-section-out" data-css="tve-u-165ca94de30"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom svg-shape-to-front" data-css="tve-u-165ca98435a"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-165cb1ee73f"><div class="thrv_wrapper thrv-columns" data-css="tve-u-165ca365a98" style="--tcb-col-el-width:739;"><div class="tcb-flex-row tcb--cols--1 v-2 m-edit tcb-mobile-wrap" data-css="tve-u-165ca365a99"><div class="tcb-flex-col" data-css="tve-u-165ca365a9a" style=""><div class="tcb-col" data-css="tve-u-165cb0c9261"><div class="thrv_wrapper thrv-columns" data-css="tve-u-165ca365a9b" style="--tcb-col-el-width:739;"><div class="tcb-flex-row tcb--cols--3 tcb-resized v-2" data-css="tve-u-165ca365a9c"><div class="tcb-flex-col c-50" data-css="tve-u-165ca365a9d" style=""><div class="tcb-col" data-css="tve-u-165ca365a9e"></div></div><div class="tcb-flex-col c-25" data-css="tve-u-165ca365a9f" style=""><div class="tcb-col" data-css="tve-u-165cb0e8283"><div class="thrv_wrapper thrv-button" data-css="tve-u-165ca365aa0" data-tcb_hover_state_parent="">
<a href="http://linuxtipsandtricks.com/wp-content/uploads/2015/01/grep-i.pdf" class="tcb-button-link" target="_blank" rel="">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-165ca365aa1">PDF Version</span></span>
</a>
</div></div></div><div class="tcb-flex-col c-25" data-css="tve-u-165ca365aa2" style=""><div class="tcb-col" data-css="tve-u-165cb1176f3"><div class="thrv_wrapper thrv-button" data-css="tve-u-165ca365aa3" data-tcb_hover_state_parent="">
<a href="https://www.youtube.com/watch?v=7lqzS2ZAZUg" class="tcb-button-link" target="_blank" rel="">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-165ca365aa4">Video</span></span>
</a>
</div></div></div></div></div></div></div></div></div><div class="thrv_wrapper thrv_text_element" data-tag="h2" data-css="tve-u-165ca37216c"><h1 data-css="tve-u-165ca32734f" style="text-align: center;" class="">Grep -i</h1></div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><p data-css="tve-u-165ca7aae8a" style="color: rgb(21, 21, 21); margin-bottom: 0px !important;">Grep –i Stand for case insensitive. With grep –i you can extract lines that correspond to&nbsp;your search criteria no matter the cases.</p><p data-css="tve-u-165ca7aae8c" style="color: rgb(21, 21, 21); margin-bottom: 0px !important;">Let suppose a file name “name” that contain the name of many people.</p></div><div class="thrv_wrapper thrv_text_element" data-tag="h2"><h3 data-css="tve-u-165ca79fa94" class=""><strong>Here is what it contain:</strong></h3></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca7721ec">
<div class="tve-content-box-background" data-css="tve-u-165cb1aadef"></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca4b4a68">
<div class="tve-content-box-background" data-css="tve-u-165ca4b4a67"></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-165ca4dd49c"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165cb7aee55">
<div class="tve-content-box-background" data-css="tve-u-165cb7cb141"></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165cd989b6c">
<div class="tve-content-box-background" data-css="tve-u-165cd9bb80b"></div>
<div class="tve-cb" data-css="tve-u-165cd9a23d0"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165ca572785"><p data-css="tve-u-165ca570837">File</p></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165ca4b4a62"><p data-css="tve-u-165ca4c3788">Dany Moore</p><p data-css="tve-u-165ca4c378a">Steve Hawkins</p><p data-css="tve-u-165ca4c378b">Roger Hipkiss</p><p data-css="tve-u-165ca4c378c">Loy Hinton</p><p data-css="tve-u-165ca4c378d">Mandy Moore</p><p data-css="tve-u-165ca4c378e">Candy Diaz</p><p data-css="tve-u-165ca4c3790">Fernando Diaz</p></div></div>
</div></div>
</div><div class="thrv_wrapper thrv-columns" style="--tcb-col-el-width:734;"><div class="tcb-flex-row v-2 tcb--cols--2 tcb-mobile-no-wrap m-edit" data-css="tve-u-165ca7de01b"><div class="tcb-flex-col"><div class="tcb-col" data-css="tve-u-165cddf815e"><div class="thrv_wrapper thrv_text_element" data-tag="h3" data-css="tve-u-165ca81f058"><h3 data-css="tve-u-165ca7fdf0c" style="color: rgb(21, 21, 21); margin-bottom: 0px !important; margin-top: 0px !important;" class=""><span class="tve_custom_font_size" data-css="tve-u-165ca7fdf10"><span class="bold_text" data-css="tve-u-165ca7fdf11">if you do :</span></span></h3></div></div></div><div class="tcb-flex-col"><div class="tcb-col"><div class="thrv_wrapper thrv_text_element" data-tag="h3" data-css="tve-u-165cddfa076"><h3 data-css="tve-u-165ca7fdf0c" style="color: rgb(21, 21, 21); margin-bottom: 0px !important; margin-top: 0px !important;" class=""><span class="tve_custom_font_size" data-css="tve-u-165ca7fdf10"><span class="bold_text" data-css="tve-u-165ca7fdf11">you will get :</span></span></h3></div></div></div></div></div><div class="thrv_wrapper thrv-columns" style="--tcb-col-el-width:734;"><div class="tcb-flex-row tcb--cols--2 v-2 tcb-mobile-no-wrap m-edit" data-css="tve-u-165cde15dfe"><div class="tcb-flex-col"><div class="tcb-col" data-css="tve-u-165cde0e895"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-165ca7c710b">
<div class="tve-content-box-background" data-css="tve-u-165ca7c710c" data-clip-id="bd2127927b91d"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-bd2127927b91d" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-bd2127927b91d)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-bd2127927b91d" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca7c7111">
<div class="tve-content-box-background" data-css="tve-u-165ca7c7110"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca7c7115" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-165ca7c7116" data-clip-id="1da4611b10e12"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-1da4611b10e12" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-1da4611b10e12)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-1da4611b10e12" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-1da4611b10e12)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-1da4611b10e12" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-165ca7c710a"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-165ca7c7113"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-165ca7c7117"><p data-css="tve-u-165ca7c7112" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165ca7c710d"><h3 data-css="tve-u-165ca7bfff4" class="">cat name | grep –i moore</h3></div></div>
</div></div>
</div></div></div><div class="tcb-flex-col"><div class="tcb-col" data-css="tve-u-165cde18a38"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165cdad27c6">
<div class="tve-content-box-background" data-css="tve-u-165cdad27c5"></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-165cdad27cf"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165cdad27d4">
<div class="tve-content-box-background" data-css="tve-u-165cdad27d5"></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165cdad27d6">
<div class="tve-content-box-background" data-css="tve-u-165cdad27d8"></div>
<div class="tve-cb" data-css="tve-u-165cdad27d7"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165cdad27d1"><p data-css="tve-u-165cdad27d0">File</p></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165cdad27c4"><p>Dany Moore</p><p>Mandy Moore</p></div></div>
</div></div></div></div></div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone"><p style="color: rgb(21, 21, 21); margin-bottom: 0px !important;">Like you can see , your searching for moore with the 'm' in lowercase and you still get the line that contain moore with the 'M' in uppercase or else like you known linux is case sensitive and if you omit the -i option it will return no line like the following :</p></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-165ca913e4d">
<div class="tve-content-box-background" data-css="tve-u-165ca913e4e" data-clip-id="7c870f7e67cf9"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-7c870f7e67cf9" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-7c870f7e67cf9)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-7c870f7e67cf9" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca913e54">
<div class="tve-content-box-background" data-css="tve-u-165ca913e53"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca913e58" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-165ca913e59" data-clip-id="9ecfc04f69c1c"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-9ecfc04f69c1c" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-9ecfc04f69c1c)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-9ecfc04f69c1c" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-9ecfc04f69c1c)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-9ecfc04f69c1c" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-165ca913e4b"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-165ca913e57"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-165ca913e5b"><p data-css="tve-u-165ca913e56" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">2</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165ca913e4f"><h3 data-css="tve-u-165ca8c549c" class=""><span data-css="tve-u-165ca8c54a1"><span data-css="tve-u-165ca8c54a5">cat name | grep moore</span></span></h3></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element" data-tag="h3"><h3 class="bold_text" data-css="tve-u-165ca928bdc" style="color: rgb(21, 21, 21); margin-bottom: 0px !important; margin-top: 0px !important;"><span class="tve_custom_font_size" data-css="tve-u-165ca928c09"><span class="bold_text" data-css="tve-u-165ca928c0b"><strong>Or you can do :</strong> </span></span></h3></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-165ca9314ee">
<div class="tve-content-box-background" data-css="tve-u-165ca9314ef" data-clip-id="a90e8789590b7"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-a90e8789590b7" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-a90e8789590b7)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-a90e8789590b7" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca9314f6">
<div class="tve-content-box-background" data-css="tve-u-165ca9314f5"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-165ca9314fa" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-165ca9314fb" data-clip-id="e9f24667fafb6"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-e9f24667fafb6" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-e9f24667fafb6)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-e9f24667fafb6" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-e9f24667fafb6)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-e9f24667fafb6" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-165ca9314ec"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-165ca9314f8"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-165ca9314fc"><p data-css="tve-u-165ca9314f7" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">3</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165ca9314f0"><h3 data-css="tve-u-165ca93a1fd" class="">grep –i moore name</h3></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-165ca9472e3"><p style="color: rgb(21, 21, 21); margin-bottom: 10px !important; margin-top: 0px !important; font-size: 16px;"><span class="tve_custom_font_size" style="font-size: 16px;"><span class="bold_text"></span>And still get the same result!<span class="bold_text"></span></span></p></div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn" style="margin-bottom: 0px !important; margin-top: 0px !important; padding: 0px !important;" data-css="tve-u-165cb0960c6">
<div class="tve_social_items tve_social_custom tve_social_medium tve_social_itb tve_style_5" style="font-size: 12px;"><div class="tve_s_item tve_s_fb_share" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-type="feed">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-facebook" viewBox="0 0 16 28"><path d="M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_g_share" data-s="g_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share +1">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon"></span><span class="tve_s_text">Share +1</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_t_share" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-twitter" viewBox="0 0 26 28"><path d="M25.312 6.375q-1.047 1.531-2.531 2.609 0.016 0.219 0.016 0.656 0 2.031-0.594 4.055t-1.805 3.883-2.883 3.289-4.031 2.281-5.047 0.852q-4.234 0-7.75-2.266 0.547 0.063 1.219 0.063 3.516 0 6.266-2.156-1.641-0.031-2.938-1.008t-1.781-2.492q0.516 0.078 0.953 0.078 0.672 0 1.328-0.172-1.75-0.359-2.898-1.742t-1.148-3.211v-0.063q1.062 0.594 2.281 0.641-1.031-0.688-1.641-1.797t-0.609-2.406q0-1.375 0.688-2.547 1.891 2.328 4.602 3.727t5.805 1.555q-0.125-0.594-0.125-1.156 0-2.094 1.477-3.57t3.57-1.477q2.188 0 3.687 1.594 1.703-0.328 3.203-1.219-0.578 1.797-2.219 2.781 1.453-0.156 2.906-0.781z"></path></svg></span><span class="tve_s_text">Tweet</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_in_share" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-linkedin" viewBox="0 0 28 28"><path d="M5.453 9.766v15.484h-5.156v-15.484h5.156zM5.781 4.984q0.016 1.141-0.789 1.906t-2.117 0.766h-0.031q-1.281 0-2.063-0.766t-0.781-1.906q0-1.156 0.805-1.914t2.102-0.758 2.078 0.758 0.797 1.914zM24 16.375v8.875h-5.141v-8.281q0-1.641-0.633-2.57t-1.977-0.93q-0.984 0-1.648 0.539t-0.992 1.336q-0.172 0.469-0.172 1.266v8.641h-5.141q0.031-6.234 0.031-10.109t-0.016-4.625l-0.016-0.75h5.141v2.25h-0.031q0.313-0.5 0.641-0.875t0.883-0.812 1.359-0.68 1.789-0.242q2.672 0 4.297 1.773t1.625 5.195z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_pin_share" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-label="Pin">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-pinterest" viewBox="0 0 32 32"><path d="M16 0c-8.837 0-16 7.163-16 16 0 6.778 4.217 12.568 10.169 14.899-0.14-1.266-0.266-3.208 0.055-4.59 0.291-1.249 1.876-7.953 1.876-7.953s-0.479-0.958-0.479-2.375c0-2.225 1.29-3.886 2.895-3.886 1.365 0 2.024 1.025 2.024 2.254 0 1.373-0.874 3.425-1.325 5.327-0.377 1.593 0.799 2.892 2.369 2.892 2.844 0 5.030-2.999 5.030-7.327 0-3.831-2.753-6.509-6.683-6.509-4.552 0-7.225 3.415-7.225 6.943 0 1.375 0.53 2.85 1.191 3.651 0.131 0.158 0.15 0.297 0.111 0.459-0.121 0.506-0.391 1.593-0.444 1.815-0.070 0.293-0.232 0.355-0.535 0.214-1.998-0.93-3.248-3.852-3.248-6.198 0-5.047 3.667-9.682 10.572-9.682 5.55 0 9.864 3.955 9.864 9.241 0 5.514-3.477 9.952-8.302 9.952-1.621 0-3.145-0.842-3.667-1.837 0 0-0.802 3.055-0.997 3.803-0.361 1.39-1.337 3.132-1.989 4.195 1.497 0.463 3.088 0.713 4.738 0.713 8.836-0 16-7.163 16-16s-7.163-16-16-16z"></path></svg></span><span class="tve_s_text">Pin</span><span class="tve_s_count">0</span></a>
</div></div>
<div class="tve_social_overlay"></div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/grep-i/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">46</post-id>	</item>
		<item>
		<title>Remove control-m from text</title>
		<link>https://linuxtipsandtricks.com/convertdostolinux/</link>
					<comments>https://linuxtipsandtricks.com/convertdostolinux/#respond</comments>
		
		<dc:creator><![CDATA[Stephane Morin]]></dc:creator>
		<pubDate>Tue, 02 Sep 2014 23:39:02 +0000</pubDate>
				<category><![CDATA[File Manipulation]]></category>
		<guid isPermaLink="false">http://linuxtipsandtricks.com/?p=12</guid>

					<description><![CDATA[Convert from Dos(windows) to Linux(unix) or how to remove the control-m from a file]]></description>
										<content:encoded><![CDATA[<div class="thrv_wrapper thrv-page-section" data-css="tve-u-164e427390b">
<div class="tve-page-section-out"><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 127" preserveAspectRatio="xMidYMid slice" decoration-type="city_skyline" class="svg-shape-bottom" data-css="tve-u-164e430f763"><path d="M46.92,32.07v2.85c-1.33.3-2.63.55-3.92.76Zm2.69-9.8v5.61h-1ZM51,27.88H50V22.27Zm5.67,7.82c-1.29-.21-2.61-.46-3.94-.75V32.07ZM493,98.33v-15h4.91v-6l12.38-7.58V65.9h3.15v2.34h11.37v15.1h4.38V63.21H532V62h1.91l1.12.36v.82h1.44V62h1.91l1.12.36v.38h3.29v.44H544v-.32h1v.32h.92v9h3.88v-.61h.35V70.56h-.35V69.48h.35V68.4h-.35V67.31h.35V66.23h-.35V65.15h.35V64.07h-.35V63h.35V61.91h-.35V60.83h.35V59.75h-.35V58.66h.35V57.58h-.35v-3.1H556V52.05h3.73v-.77h.9v.77h1.14v-.77h.9v.77h4.1v2.43H568V53.13h8.23V50.56h5V49.7H582v.86h8.06V56h1.75l3.56.92v.69h-.23v1.08h.23V83.34h3.89V83.1h-.41V82h.41V80.48h-.41V79.36h.41v-1.5h-.41V76.74h.41V75.25h-.41V74.12h.41V72.63h-.41V71.5h.41V70h-.41V68.88h.41V67.39h-.41V66.26h.41V64.77h-.41V63.64h1.94V63h3.23V61.43h3.73v-.81h.43v.81h.53v-.81h.42v.81h2v.67H617v.31h-.37V63h6.59v.67H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625V70h-.42V71.5H625v1.13h-.42v1.49H625v1.13h-.42v1.49H625v.6h1.87V56.91h8.79v-.32h2.5v.32h1.93v-.32h.16V42.75h.46v-1.3h-.81v-.72h2.05V37h0V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.3V30.59h.21v.33c.58.08-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.31V37h3.36V30.59h.21v.33c.58.09-.08,1.42.59,1.42V34c-.15-.8-.44-.6-.59-1.3V37h3.42v3.76h2v.72h-.81v1.3h.46v1.8h2.17V36.48h.64V35.41h-.94V33.57l.65-.61h1V30.69h4.3V29.46h.43v1.23H671V33h.53v-1.3h2.36V33h.33V31.88h2.25L676.78,18l.28,13.88h3.85V29.1h.23v2.78h.33V33h.23v.61h.2v1.59h2V59.1H694.4V83.34h2V71.73h2.87V64.14H711.5V57.42h13.71V52.94h1.38V51.09h5V48.51h.37V50h.5V48.51h.36V50h.45v.56h-.45v.53h1.12v-.45h-.32V49.23h.79v-1h.85v1h.22v1.41h-.29v.45h4.38v1.85h1.15V74.37h3.76V52.69h5.62V50.58h2.43v-.33h1v.33h.76v-.4h2.28V47.92h.2v2.26h.54v-2h.2v2h.44V47.87h.2v2.31h1.12v.4h1v2.11h3.31V83.34h3.06V63.2h15.77V76.8h4.08V64.29h6.39v4.23h7.78V64.29H807v4.18a11.61,11.61,0,0,0,1.28-.25V61.94h1.09V60.37h4.36V59.3A.3.3,0,0,1,814,59h.86a.3.3,0,0,1,.29.31v1.07h1.15v1.57h1V42.58h6.22v-1h1.69V38.9h8.91v-.52h1.09v.52H836v2.59h1.69v-.67h3v1.76h.5v.91h2.4V68.25h5.76v-.73H849V66.18h.37V64.85H849V63.52h.37V62.19H849V60.85h.37V59.52H849V58.19h.37V56.86H849V55.53h.37V54.19H849V52.86h.37V51.53H849V50.19h.37V48.86H849V47.53h.37V46.19H849V44.86h.37V43.53H849V42.2h.37V40.86H849V39.53h.37V38.2H849V36.87h.37V35.53H849V33.89h.37V32.24H849V26.6h4.9V25h-.47v-.46H857v-.3h.87v.3h.53V25h-.2V26.6h14V21h.16V26.6h2.42v5.64h-.46v1.65h.46v1.64h-.46v1.34h.46V38.2h-.46v1.33h.46v1.33h-.46V42.2h.46v1.33h-.46v1.33h.46v1.33h-.46v1.34h.46v1.33h-.46v1.33h.46v1.34h-.46v1.33h.46v1.33h-.46v1.34h.46V56h1.73v-.39h.52V56h.48v-.39H878V56h.51V55.5h2v-.89h.65V32.86h9.14v-.35h-1.22V31.33h.74v-.27h-.27V30.4h1.1v.66h-.4v.27h2.38v-.47h.83V30h.29v.87h1.67v.47H896v-.54h-.6V29.44h1.28v1.35h-.23v.54h.32v1.18h-1.53v.35h9.94V64h1.17l1.23.4v.65H908V64h1.39l1.23.4v.65h.75V63.92l1.48-.71h4.89v1.88h1.55v2.6h2v11h1.75v-6H925V71.63h2.37v1.08h.48V71.63h2.37v1.08H932V55.87h28.43V83.34h1.62V73.12h5.79v-.8h2.61V70h8.22v.54h3.58v.71h2.37v1.88H992V83.34h8V127H0V98.33H5.28V70.73H15.72V90.55h1.46V68h8.61v9h6.42V85.5h.87v1.76h.81V98.33h.61V42.69h.92V41.34h-.61V40h.79c-1-1-1.93-2-2.9-3l.12-.51a61.77,61.77,0,0,0,8.64-.6l5.46-5v-.67a.66.66,0,0,1,.66-.66h.31v-1.3h-1v-.38h1.27l1.38-8.1h0V0H50V19.78h0l1.38,8.1h1.27v.38h-1v1.3H52a.66.66,0,0,1,.66.66v.67l5.48,5a61.31,61.31,0,0,0,8.52.58l.11.51-2.9,3h.79v1.33h-.61v1.35H65V89.52h4V65.76H78.7V61.64h.17v-.56h2.77v.56h2.63V60.45H85.9v1.19H87V74.2h1.5v1.31h2.81V71.46h1V70.8h2.38v.66h1.83v-11h.56V60h5.52v.54h1.1V78.41h2.1V81h3.56V92.19h1.43V65.39h8.42V89.16h2V68.57h2.5V35.67h.72v-.76h1.1V33h.27v1.38h3.29v.57h1.85V34.2h.89v-.55h2.33v.55H136v.71h5.81V36.4h1V81.77h2V70.54h3.42V62.85h.5v-.63h.88v.63h2.43V49.74h1.67V49h11.15v.76h6V68.53h1.59v23h1.12V38.3h.82V35.36h1.34V33.25H177V30.91h.86v-.36h3.77v.36h5.66v2.34h1.23v2.11h1.34V38.3h.82V55.91h1.46v.37h.65V58.6h5.33v1.11h-.82V68H199V92.59h1V91.48h1.33V58.94h15.2v5.8h1.19v-1h.76v1h1.12v5.45h2.39V68.91h.37v-.44h2.51v.44h1.64v1.28h1.09v.66H228V98.33h1.24V64.62h.89V63.18h.67v.65h2.44v.79h1.32V63.15h1.11v1.47h.68v-.47h1.35v.47H239v4.75h2.33V55.86h16.24V98.33h1.22v-.42h.56l-.56-.5v-1h.56l-.56-.51V95h.56l-.56-.5v-1h.56l-.56-.5V92h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5V70h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.5v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51v-1h.56l-.56-.51V45h.56l-.56-.51v-1h.56l-.56-.51v-1H268V36.3h32.56v5.76h9.21v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.5h.56v1l-.56.51h.56v.4h1.74V92.25h1.79V68h8V42.16l1.39-1.77V39h.52l4.14-7h.33v-2.9h.22v-.33H329v.33h.22V32h.33l4.13,7h.52v1.41l1.4,1.77V72.55h.62V98.33h.6V85h1.09V78.66H340V76.77h1.59l2-13,2,13h.54V78.2h1.64V63.53h2.12V53.33h1v-1H353v1h1.67V17.14h10.57V7.51h.56v.88h2.33V5.49h.5v-4h.47v.56h6.62V1.53h.46v4h.5v2.9H379V7.51h.57v4.41h3.63v-.78h.56V51.33H391v6h1.43V56h2.87v1.33h1.21v1.81h4.28V74.05h2.33V69h1.21V68.4h1.32V64.19h3.42V69h.7V57.83h-.33v-.75h.33V54.35h-.33V53.6h.33v-.23h1V53h.39V51h-.39v-.43h3.06V47.33h.32v-.74h-.32V44.17h.27v-.56h.23v-.55h.34v.55h.23v.56h.25v-.28l2-1.45V38.51l.36-.76V32.16l1.19-2.75V27.23H420v2.18l1.19,2.75v5.59l.36.76v3.93l2,1.45v.28h.25v-.56h.23v-.55h.34v.55h.23v.56h.27v2.42h-.32v.74h.32v3.21H428V51h-.4v2h.4v.36h1v.23h.33v.75H429v2.73h.33v.75H429V73.31h8.58V72h.9V62.21h3.65V60.74h.58v1.47h3.06v-.88h1.46v.88h1.46v8h1.08v1.91H452V56.47h.61V48h8.66v8.52h5V69.84h.32v.88h3.82V65.84h7.69V90.33h2.08V83.88h.8V81.79h4.17v2.09h3v5.91h.64v3.15h.89v5.39Z"></path></svg></div>
<div class="tve-page-section-in tve_empty_dropzone" data-css="tve-u-1665a1604c3"><div class="thrv_wrapper thrv-columns" data-css="tve-u-165ca6b741b" style="--tcb-col-el-width:739;"><div class="tcb-flex-row tcb--cols--1 v-2" data-css="tve-u-165ca6b741c"><div class="tcb-flex-col" data-css="tve-u-165ca6b741d" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-columns" data-css="tve-u-165ca6b741e" style="--tcb-col-el-width:739;"><div class="tcb-flex-row tcb--cols--3 tcb-resized" data-css="tve-u-165ca6b741f"><div class="tcb-flex-col c-50" data-css="tve-u-165ca6b7420" style=""><div class="tcb-col" data-css="tve-u-165ca6b7421"></div></div><div class="tcb-flex-col c-25" data-css="tve-u-165ca6b7422" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-button" data-css="tve-u-165ca6b7423" data-tcb_hover_state_parent="">
<a href="http://linuxtipsandtricks.com/wp-content/uploads/2014/10/convert-file-from-dos-to-linux-and-unix.pdf" class="tcb-button-link" target="_blank" rel="">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-165ca6b7424">PDF Version</span></span>
</a>
</div></div></div><div class="tcb-flex-col c-25" data-css="tve-u-165ca6b7425" style=""><div class="tcb-col"><div class="thrv_wrapper thrv-button" data-css="tve-u-165ca6b7426" data-tcb_hover_state_parent="">
<a href="https://www.youtube.com/watch?v=60n2ej-1pNY" class="tcb-button-link" target="_blank" rel="">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text" data-css="tve-u-165ca6b7427">Video</span></span>
</a>
</div></div></div></div></div></div></div></div></div><div class="thrv_wrapper thrv_text_element" data-tag="h2" data-css="tve-u-165c9279701"><h1 data-css="tve-u-164e3fed1b1" style="text-align: center;" class=""><strong><a href="http://linuxtipsandtricks.com/wp-admin/post.php?post=12&amp;action=edit"></a></strong><strong>Remove Control-M From Text</strong></h1></div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165c94d0811" data-tag="h2"><h2 data-css="tve-u-16db38e036e" style="text-align: center;" class="">Multiple ways to remove control-m from text in linux.</h2><p data-css="tve-u-164e42f95b8" style="margin-bottom: 10px;">I will try to cover most of them in this post.</p><p data-css="tve-u-164e42f95b8" style="margin-bottom: 10px;"><br></p><p data-css="tve-u-164e42f95b8" style="margin-bottom: 10px;">The main reason to convert the file is because windows add control-m at the end of each line, which is problematic in linux because it will be interpreted as a character as the rest of the line and will eventually make some scripts failed.</p><p data-css="tve-u-164e42f95b8" style="margin-bottom: 10px;"><span data-css="tve-u-16db38e03a8" style="display: inline-block; text-decoration: underline;"><br></span></p><p data-css="tve-u-164e42f95b9" style="margin-bottom: 10px;"><span data-css="tve-u-16db38e03a9" style="text-decoration: underline;"><span data-css="tve-u-16db38e03ab" style="display: inline-block;">The easiest method is to transfer your file from windows to unix in ASCII format. If you transfer the file in Binary or you ignore the format in which it is transfer, better verify , cause there is a lot of chance your file inherited control-m characters. When you transfer your file , it will be with an ftp or sftp software , most of them are really obvious and you have a settings for the format of the transfer, simple choose ASCII.<br></span></span></p><p data-css="tve-u-164e42f95ba" style="margin-bottom: 10px;"><br></p><h5 data-css="tve-u-164e42f95bc" class=""><span class="bold_text" data-css="tve-u-164e42f95c5">To see if a file contain control-m all you need to do is :</span></h5></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1665a1927fa">
<div class="tve-content-box-background" data-css="tve-u-1665a1927fc" data-clip-id="b1d3e63ffec74"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-b1d3e63ffec74" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-b1d3e63ffec74)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-b1d3e63ffec74" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192800">
<div class="tve-content-box-background" data-css="tve-u-1665a1927fe"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192803" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b78245197" data-clip-id="ca8f05cd10571"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-ca8f05cd10571" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-ca8f05cd10571)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-ca8f05cd10571" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-ca8f05cd10571)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-ca8f05cd10571" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1665a1927f9"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1665a192802"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a192805"><p data-css="tve-u-1665a192801" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1665a1927fd" data-tag="h5"><h5 data-css="tve-u-165c9286921" class="">cat –v filename</h5></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a1c2e9c">
<div class="tve-content-box-background"></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_text_element" data-css="tve-u-165c94b0d40"><p data-css="tve-u-165c94f0d1a"><strong>OR</strong></p></div></div>
</div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1665a195d62">
<div class="tve-content-box-background" data-css="tve-u-1665a19cf82" data-clip-id="4e756b6bc5064"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-4e756b6bc5064" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-4e756b6bc5064)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-4e756b6bc5064" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192800">
<div class="tve-content-box-background" data-css="tve-u-1665a1927fe"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192803" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7824519b" data-clip-id="2a21b0d27fb19"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-2a21b0d27fb19" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-2a21b0d27fb19)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-2a21b0d27fb19" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-2a21b0d27fb19)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-2a21b0d27fb19" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1665a1927f9"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1665a192802"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a192805"><p data-css="tve-u-1665a192801" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">2</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1665a1927fd" data-tag="h5"><h5 data-css="tve-u-165c9286921" class="">vi filename</h5></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_text_element" data-tag="h3"><p data-css="tve-u-164e42f95be" style="margin-bottom: 10px; padding-left: 35px;"><span class="bold_text" data-css="tve-u-1665a406ed4"></span><strong>To transfer a file without control-m :</strong></p><p data-css="tve-u-164e42f95c0" style="margin-bottom: 45px; padding-left: 35px;">Just transfer the file in ascii mode.</p></div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-16684658979" data-tag="h3"><h3 data-css="tve-u-16db38ec4c0" class=""><strong>To remove control-m from text :</strong></h3><p data-css="tve-u-16684669b07">Here is some example of how to do it :</p></div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1665a1ceea5">
<div class="tve-content-box-background" data-css="tve-u-1665a433ac5" data-clip-id="79894618fa3df"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-79894618fa3df" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-79894618fa3df)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-79894618fa3df" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192800">
<div class="tve-content-box-background" data-css="tve-u-1665a1927fe"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192803" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b7824519f" data-clip-id="bf84d0be542bf"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-bf84d0be542bf" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-bf84d0be542bf)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-bf84d0be542bf" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-bf84d0be542bf)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-bf84d0be542bf" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1665a1927f9"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1665a192802"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a192805"><p data-css="tve-u-1665a192801" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;">1</span></span></p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1665a45e95a" data-tag="h5"><h5 data-css="tve-u-164e4049b88" class=""><strong>Using ‘dos2unix’ and ‘unix2dos'</strong></h5><p data-css="tve-u-164e40a371d">(the easiest method, if dos2unix is installed on your system)</p><ol class=""><li data-css="tve-u-164e40a371d">dos2unix filename ---- To remove control-m</li><li data-css="tve-u-164e40a371d">Unix2dos filename ---- To put back control-m at the end of the line</li></ol></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1665a3b0f12">
<div class="tve-content-box-background" data-css="tve-u-1665a43ef79" data-clip-id="264fa4ce8661c"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-264fa4ce8661c" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-264fa4ce8661c)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-264fa4ce8661c" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192800">
<div class="tve-content-box-background" data-css="tve-u-1665a1927fe"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192803" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-17b782451a2" data-clip-id="676399e58d66e"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-676399e58d66e" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-676399e58d66e)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-676399e58d66e" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-676399e58d66e)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-676399e58d66e" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1665a1927f9"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1665a192802"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a192805"><p data-css="tve-u-1665a192801" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;"></span></span>2</p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1665a4672dc" data-tag="h5"><h5 data-css="tve-u-164e4103723" class=""><strong>Using ‘tr’</strong></h5><ol class=""><li class="" data-css="tve-u-164e40a371d">tr –d ‘r’ &lt; file_to_modify &gt; resulting_file</li><li data-css="tve-u-164e40a371d">tr –d ‘^M’ &lt; file_to_modify &gt; resulting_file &nbsp;</li><li data-css="tve-u-1665a3cc423">In both cases after you need to move back the resulting file into the original file</li></ol><p class="data-css=" data-css="tve-u-1665a3ce706">---- To do the ^M , &nbsp;press &nbsp; &nbsp;[ctrl]+v &nbsp; followed by &nbsp; &nbsp;[ctrl]+m</p></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-value-type="percent" data-css="tve-u-1665a3dfba8">
<div class="tve-content-box-background" data-css="tve-u-1665a1cf4cb" data-clip-id="24eaf64ced8d7"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-24eaf64ced8d7" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none" slanted-angle="0" style="" clip-path="url(#clip-right-24eaf64ced8d7)"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath><clipPath id="clip-right-24eaf64ced8d7" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg></div>
<div class="tve-cb"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192800">
<div class="tve-content-box-background" data-css="tve-u-1665a1927fe"></div>
<div class="tve-cb tve_empty_dropzone"><div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box" data-css="tve-u-1665a192803" data-value-type="percent">
<div class="tve-content-box-background" data-css="tve-u-1665a192804" data-clip-id="8d5934a16e665"><svg width="0" height="0" class="tve-decoration-svg"><defs><clipPath id="clip-bottom-8d5934a16e665" class="decoration-clip clip-path-bottom" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" slanted-angle="25" style="" clip-path="url(#clip-right-8d5934a16e665)"><polygon points="0 0, 0 1, 2.1445 0, 1 0"></polygon></clipPath><clipPath id="clip-right-8d5934a16e665" class="decoration-clip clip-path-right" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="slanted" pointer-width="0" pointer-height="5" style="" slanted-angle="23" clip-path="url(#clip-top-8d5934a16e665)"><polygon points="0 0, 0 1, 1 1, 0.5755 0"></polygon></clipPath><clipPath id="clip-top-8d5934a16e665" class="decoration-clip clip-path-top" clipPathUnits="objectBoundingBox" data-screen="" decoration-type="none"><polygon points="0 0, 0 1, 1 1, 1 0"></polygon></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 17" preserveAspectRatio="xMidYMax slice" decoration-type="mini_waves" class="svg-shape-top" data-css="tve-u-1665a1927f9"><path d="M0,0c0,16,0,14,0,16c5,0,5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5.1-6,10.2-6s5,6,10,6     s4.9-6,9.8-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s4.9,6,9.9,6s5-6,10.1-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6     s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6s5-6,10-6s5,6,10,6     s5-6,10-6s5,6,10,6c0-8,0,0,0-16H0z"></path></svg></div>
<div class="tve-cb tve_empty_dropzone" data-css="tve-u-1665a192802"><div class="thrv_wrapper thrv_text_element tve_empty_dropzone" data-css="tve-u-1665a192805"><p data-css="tve-u-1665a192801" style="text-align: center;"><span style="font-family: Arimo; font-weight: 400;"><span style="font-size: 45px;"></span></span>3</p></div></div>
</div><div class="thrv_wrapper thrv_text_element" data-css="tve-u-1665a46a8c9" data-tag="h5"><h5 data-css="tve-u-164e419e436" class=""><strong>Using ‘vi’ --- Very easy also , if the file is not too big</strong></h5><ol class=""><li class=" class=" data-css="tve-u-164e40a371d">vi filename &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --- Position yourself on the first line</li><li class=" class=" data-css="tve-u-164e40a371d">:%s/^M//g &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --- Then press enter , and voila !</li></ol></div></div>
</div></div>
</div><div class="thrv_wrapper thrv_social thrv_social_custom tve_centerBtn" style="padding: 0px !important;" data-css="tve-u-1665a3fd24b">
<div class="tve_social_items tve_social_custom tve_social_medium tve_social_itb tve_style_5" style="font-size: 12px;"><div class="tve_s_item tve_s_fb_share" data-s="fb_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share" data-type="feed">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-facebook" viewBox="0 0 16 28"><path d="M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_g_share" data-s="g_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share +1">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon"></span><span class="tve_s_text">Share +1</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_t_share" data-s="t_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Tweet">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-twitter" viewBox="0 0 26 28"><path d="M25.312 6.375q-1.047 1.531-2.531 2.609 0.016 0.219 0.016 0.656 0 2.031-0.594 4.055t-1.805 3.883-2.883 3.289-4.031 2.281-5.047 0.852q-4.234 0-7.75-2.266 0.547 0.063 1.219 0.063 3.516 0 6.266-2.156-1.641-0.031-2.938-1.008t-1.781-2.492q0.516 0.078 0.953 0.078 0.672 0 1.328-0.172-1.75-0.359-2.898-1.742t-1.148-3.211v-0.063q1.062 0.594 2.281 0.641-1.031-0.688-1.641-1.797t-0.609-2.406q0-1.375 0.688-2.547 1.891 2.328 4.602 3.727t5.805 1.555q-0.125-0.594-0.125-1.156 0-2.094 1.477-3.57t3.57-1.477q2.188 0 3.687 1.594 1.703-0.328 3.203-1.219-0.578 1.797-2.219 2.781 1.453-0.156 2.906-0.781z"></path></svg></span><span class="tve_s_text">Tweet</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_in_share" data-s="in_share" data-href="http://linuxtipsandtricks.com/grep" data-label="Share">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-linkedin" viewBox="0 0 28 28"><path d="M5.453 9.766v15.484h-5.156v-15.484h5.156zM5.781 4.984q0.016 1.141-0.789 1.906t-2.117 0.766h-0.031q-1.281 0-2.063-0.766t-0.781-1.906q0-1.156 0.805-1.914t2.102-0.758 2.078 0.758 0.797 1.914zM24 16.375v8.875h-5.141v-8.281q0-1.641-0.633-2.57t-1.977-0.93q-0.984 0-1.648 0.539t-0.992 1.336q-0.172 0.469-0.172 1.266v8.641h-5.141q0.031-6.234 0.031-10.109t-0.016-4.625l-0.016-0.75h5.141v2.25h-0.031q0.313-0.5 0.641-0.875t0.883-0.812 1.359-0.68 1.789-0.242q2.672 0 4.297 1.773t1.625 5.195z"></path></svg></span><span class="tve_s_text">Share</span><span class="tve_s_count">0</span></a>
</div><div class="tve_s_item tve_s_pin_share" data-s="pin_share" data-href="http://linuxtipsandtricks.com/grep" data-media="https://mlkazn2tupwp.i.optimole.com/w:auto/h:auto/q:mauto/f:best/ig:avif/http://linuxtipsandtricks.com/wp-content/uploads/2014/10/Channel-Art1.jpg" data-label="Pin">
<a href="javascript:void(0)" class="tve_s_link"><span class="tve_s_icon thrv-svg-icon"><svg xmlns="http://www.w3.org/2000/svg" class="tcb-pinterest" viewBox="0 0 32 32"><path d="M16 0c-8.837 0-16 7.163-16 16 0 6.778 4.217 12.568 10.169 14.899-0.14-1.266-0.266-3.208 0.055-4.59 0.291-1.249 1.876-7.953 1.876-7.953s-0.479-0.958-0.479-2.375c0-2.225 1.29-3.886 2.895-3.886 1.365 0 2.024 1.025 2.024 2.254 0 1.373-0.874 3.425-1.325 5.327-0.377 1.593 0.799 2.892 2.369 2.892 2.844 0 5.030-2.999 5.030-7.327 0-3.831-2.753-6.509-6.683-6.509-4.552 0-7.225 3.415-7.225 6.943 0 1.375 0.53 2.85 1.191 3.651 0.131 0.158 0.15 0.297 0.111 0.459-0.121 0.506-0.391 1.593-0.444 1.815-0.070 0.293-0.232 0.355-0.535 0.214-1.998-0.93-3.248-3.852-3.248-6.198 0-5.047 3.667-9.682 10.572-9.682 5.55 0 9.864 3.955 9.864 9.241 0 5.514-3.477 9.952-8.302 9.952-1.621 0-3.145-0.842-3.667-1.837 0 0-0.802 3.055-0.997 3.803-0.361 1.39-1.337 3.132-1.989 4.195 1.497 0.463 3.088 0.713 4.738 0.713 8.836-0 16-7.163 16-16s-7.163-16-16-16z"></path></svg></span><span class="tve_s_text">Pin</span><span class="tve_s_count">0</span></a>
</div></div>
<div class="tve_social_overlay"></div>
</div></div>
</div><div class="tcb_flag" style="display: none"></div>
<span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span><span class="tve-leads-two-step-trigger tl-2step-trigger-0"></span>]]></content:encoded>
					
					<wfw:commentRss>https://linuxtipsandtricks.com/convertdostolinux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">12</post-id>	</item>
	</channel>
</rss>
