Friday, July 17, 2009

Text manipulation 'sed'

1. #sed 's/string1/string2/g'
(Replace string1 with string2)

2. #sed 's/\(.*\)1/\12/g'
(Modify anystring1 to anystring2)

3. #sed '/ *#/d; /^ *$/d'
(Remove comments and blank lines)

4. #sed ':a; /\\$/N; s/\\\n//; ta'
(Concatenate lines with trailing \)

5. #sed 's/[ \t]*$//'
(Remove trailing spaces from lines)

6.# sed 's/\([`"$\]\)/\\\1/g'
(Escape shell metacharacters active within double quotes)

7.#seq 10 | sed "s/^/ /; s/ *\(.\{7,\}\)/\1/"
(Right align numbers)

8.#sed -n '1000p;1000q'
(Print 1000th line)

9.#sed -n '10,20p;20q'
(Print lines 10 to 20)

10. #sed -n 's/.*\(.*\)<\/title>.*/\1/ip;T;q'</span> <br />(Extract title from HTML web page) <br /> <br />11. #<span style="font-style:italic;">sed -i 42d ~/.ssh/known_hosts</span> <br />(Delete a particular line) <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/02089429711509503470' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/02089429711509503470' rel='author' title='author profile'> <span itemprop='name'>Unknown</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html' itemprop='url'/> <a class='timestamp-link' href='https://kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2009-07-17T16:06:00+05:30'>4:06 PM</abbr></a> </span> <span class='post-comment-link'> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=6074822044921090&postID=2499146778707936924' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-76037415'> <a href='https://www.blogger.com/post-edit.g?blogID=6074822044921090&postID=2499146778707936924&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> <a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=6074822044921090&postID=2499146778707936924&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=6074822044921090&postID=2499146778707936924&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=6074822044921090&postID=2499146778707936924&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=6074822044921090&postID=2499146778707936924&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=6074822044921090&postID=2499146778707936924&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> Labels: <a href='https://kiranjith83.blogspot.com/search/label/Tips%20n%20tricks' rel='tag'>Tips n tricks</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> <div class='comments' id='comments'> <a name='comments'></a> <h4>No comments:</h4> <div id='Blog1_comments-block-wrapper'> <dl class='avatar-comment-indent' id='comments-block'> </dl> </div> <p class='comment-footer'> <div class='comment-form'> <a name='comment-form'></a> <h4 id='comment-post-message'>Post a Comment</h4> <p>tag ur valuable ideas below</p> <a href='https://www.blogger.com/comment/frame/6074822044921090?po=2499146778707936924&hl=en' id='comment-editor-src'></a> <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410px' id='comment-editor' name='comment-editor' src='' width='100%'></iframe> <script src='https://www.blogger.com/static/v1/jsbin/2315299244-comment_from_post_iframe.js' type='text/javascript'></script> <script type='text/javascript'> BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html'); </script> </div> </p> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='https://kiranjith83.blogspot.com/2009/07/scalr-errors-after-install.html' id='Blog1_blog-pager-newer-link' title='Newer Post'>Newer Post</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='https://kiranjith83.blogspot.com/2009/07/ssh.html' id='Blog1_blog-pager-older-link' title='Older Post'>Older Post</a> </span> <a class='home-link' href='https://kiranjith83.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='post-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='https://kiranjith83.blogspot.com/feeds/2499146778707936924/comments/default' target='_blank' type='application/atom+xml'>Post Comments (Atom)</a> </div> </div> </div></div> </div> </div> <div class='column-left-outer'> <div class='column-left-inner'> <aside> <div class='sidebar section' id='sidebar-left-1'><div class='widget HTML' data-version='1' id='HTML3'> <h2 class='title'>Where am I?</h2> <div class='widget-content'> <!-- Google Public Location Badge --> <iframe src="http://www.google.com/latitude/apps/badge/api?user=1078359308546262909&type=iframe&maptype=roadmap" width="180" height="300" frameborder="0"></iframe> <!-- To disable location sharing, you *must* visit https://www.google.com/latitude/apps/badge and disable the Google Public Location badge. Removing this code snippet is not enough! --> </div> <div class='clear'></div> </div><div class='widget Label' data-version='1' id='Label1'> <h2>Labels</h2> <div class='widget-content list-label-widget-content'> <ul> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Apache'>Apache</a> <span dir='ltr'>(17)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Apache%20Tomcat'>Apache Tomcat</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Backup'>Backup</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Bash'>Bash</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Bind%20DNS'>Bind DNS</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Cloud%20computing'>Cloud computing</a> <span dir='ltr'>(11)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Disk%20Management'>Disk Management</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Fun'>Fun</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Interview%20Tips'>Interview Tips</a> <span dir='ltr'>(15)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/IPTables'>IPTables</a> <span dir='ltr'>(11)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Links'>Links</a> <span dir='ltr'>(17)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Linux'>Linux</a> <span dir='ltr'>(72)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Monitoring'>Monitoring</a> <span dir='ltr'>(7)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/MySQL'>MySQL</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Networking'>Networking</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/NFS'>NFS</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/OpenLDAP'>OpenLDAP</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Postfix'>Postfix</a> <span dir='ltr'>(13)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/SAMBA'>SAMBA</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Security'>Security</a> <span dir='ltr'>(55)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/SELinux'>SELinux</a> <span dir='ltr'>(11)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Sendmail'>Sendmail</a> <span dir='ltr'>(20)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Shell%20Scripts'>Shell Scripts</a> <span dir='ltr'>(14)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Solaris'>Solaris</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Squid'>Squid</a> <span dir='ltr'>(11)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/SSH'>SSH</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/SysAdminUtilities'>SysAdminUtilities</a> <span dir='ltr'>(50)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Tips%20n%20tricks'>Tips n tricks</a> <span dir='ltr'>(55)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/Ubuntu'>Ubuntu</a> <span dir='ltr'>(15)</span> </li> <li> <a dir='ltr' href='https://kiranjith83.blogspot.com/search/label/VSFTP'>VSFTP</a> <span dir='ltr'>(3)</span> </li> </ul> <div class='clear'></div> </div> </div><div class='widget Profile' data-version='1' id='Profile1'> <h2>Lin u X u niL</h2> <div class='widget-content'> <dl class='profile-datablock'> <dt class='profile-data'> <a class='profile-name-link g-profile' href='https://www.blogger.com/profile/02089429711509503470' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'> Unknown </a> </dt> </dl> <a class='profile-link' href='https://www.blogger.com/profile/02089429711509503470' rel='author'>View my complete profile</a> <div class='clear'></div> </div> </div><div class='widget Subscribe' data-version='1' id='Subscribe2'> <div style='white-space:nowrap'> <h2 class='title'>Click here to Subscribe</h2> <div class='widget-content'> <div class='subscribe-wrapper subscribe-type-POST'> <div class='subscribe expanded subscribe-type-POST' id='SW_READER_LIST_Subscribe2POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe2POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='https://kiranjith83.blogspot.com/feeds/posts/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe2POST' onclick='return(_SW_toggleReaderList(event, "Subscribe2POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe2POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> </span> </div> <div class='bottom'></div> </div> </div> <div class='subscribe-wrapper subscribe-type-PER_POST'> <div class='subscribe expanded subscribe-type-PER_POST' id='SW_READER_LIST_Subscribe2PER_POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe2PER_POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comments </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2F2499146778707936924%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2F2499146778707936924%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='https://kiranjith83.blogspot.com/feeds/2499146778707936924/comments/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe2PER_POST' onclick='return(_SW_toggleReaderList(event, "Subscribe2PER_POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe2PER_POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comments </span> </span> </div> <div class='bottom'></div> </div> </div> <div style='clear:both'></div> </div> </div> <div class='clear'></div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2014/'> 2014 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2014_06_08_archive.html'> 06/08 - 06/15 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2013/'> 2013 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2013_05_19_archive.html'> 05/19 - 05/26 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2012/'> 2012 </a> <span class='post-count' dir='ltr'>(3)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2012_04_22_archive.html'> 04/22 - 04/29 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2012_03_18_archive.html'> 03/18 - 03/25 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2012_03_04_archive.html'> 03/04 - 03/11 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011/'> 2011 </a> <span class='post-count' dir='ltr'>(17)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_12_11_archive.html'> 12/11 - 12/18 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_11_20_archive.html'> 11/20 - 11/27 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_11_06_archive.html'> 11/06 - 11/13 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_10_30_archive.html'> 10/30 - 11/06 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_10_23_archive.html'> 10/23 - 10/30 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_10_09_archive.html'> 10/09 - 10/16 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_10_02_archive.html'> 10/02 - 10/09 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_06_05_archive.html'> 06/05 - 06/12 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_02_06_archive.html'> 02/06 - 02/13 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2011_01_09_archive.html'> 01/09 - 01/16 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010/'> 2010 </a> <span class='post-count' dir='ltr'>(29)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_12_26_archive.html'> 12/26 - 01/02 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_07_18_archive.html'> 07/18 - 07/25 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_04_25_archive.html'> 04/25 - 05/02 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_03_14_archive.html'> 03/14 - 03/21 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_03_07_archive.html'> 03/07 - 03/14 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_02_28_archive.html'> 02/28 - 03/07 </a> <span class='post-count' dir='ltr'>(4)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_02_21_archive.html'> 02/21 - 02/28 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_02_14_archive.html'> 02/14 - 02/21 </a> <span class='post-count' dir='ltr'>(6)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_02_07_archive.html'> 02/07 - 02/14 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_01_31_archive.html'> 01/31 - 02/07 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_01_24_archive.html'> 01/24 - 01/31 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_01_17_archive.html'> 01/17 - 01/24 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2010_01_10_archive.html'> 01/10 - 01/17 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009/'> 2009 </a> <span class='post-count' dir='ltr'>(153)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_12_27_archive.html'> 12/27 - 01/03 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_12_20_archive.html'> 12/20 - 12/27 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_12_13_archive.html'> 12/13 - 12/20 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_12_06_archive.html'> 12/06 - 12/13 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_11_29_archive.html'> 11/29 - 12/06 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_11_01_archive.html'> 11/01 - 11/08 </a> <span class='post-count' dir='ltr'>(4)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_10_25_archive.html'> 10/25 - 11/01 </a> <span class='post-count' dir='ltr'>(8)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_10_18_archive.html'> 10/18 - 10/25 </a> <span class='post-count' dir='ltr'>(7)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_10_11_archive.html'> 10/11 - 10/18 </a> <span class='post-count' dir='ltr'>(6)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_10_04_archive.html'> 10/04 - 10/11 </a> <span class='post-count' dir='ltr'>(6)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_09_27_archive.html'> 09/27 - 10/04 </a> <span class='post-count' dir='ltr'>(8)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_09_20_archive.html'> 09/20 - 09/27 </a> <span class='post-count' dir='ltr'>(9)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_09_13_archive.html'> 09/13 - 09/20 </a> <span class='post-count' dir='ltr'>(6)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_09_06_archive.html'> 09/06 - 09/13 </a> <span class='post-count' dir='ltr'>(16)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_08_23_archive.html'> 08/23 - 08/30 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_08_16_archive.html'> 08/16 - 08/23 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_08_09_archive.html'> 08/09 - 08/16 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_08_02_archive.html'> 08/02 - 08/09 </a> <span class='post-count' dir='ltr'>(13)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_07_26_archive.html'> 07/26 - 08/02 </a> <span class='post-count' dir='ltr'>(10)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_07_19_archive.html'> 07/19 - 07/26 </a> <span class='post-count' dir='ltr'>(8)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_07_12_archive.html'> 07/12 - 07/19 </a> <span class='post-count' dir='ltr'>(6)</span> <ul class='posts'> <li><a href='https://kiranjith83.blogspot.com/2009/07/scalr-errors-after-install.html'>Scalr errors after install</a></li> <li><a href='https://kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html'>Text manipulation 'sed'</a></li> <li><a href='https://kiranjith83.blogspot.com/2009/07/ssh.html'>SSH</a></li> <li><a href='https://kiranjith83.blogspot.com/2009/07/make-lights-of-your-nic-blink.html'>Make the lights of your NIC blink</a></li> <li><a href='https://kiranjith83.blogspot.com/2009/07/flush-dns-cache-in-linux.html'>Flush DNS cache in Linux</a></li> <li><a href='https://kiranjith83.blogspot.com/2009/07/find-out-what-ram-type-you-have-in.html'>Find out what RAM type you have in Linux</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_07_05_archive.html'> 07/05 - 07/12 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_06_28_archive.html'> 06/28 - 07/05 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_06_21_archive.html'> 06/21 - 06/28 </a> <span class='post-count' dir='ltr'>(7)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_06_14_archive.html'> 06/14 - 06/21 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_06_07_archive.html'> 06/07 - 06/14 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_05_31_archive.html'> 05/31 - 06/07 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='https://kiranjith83.blogspot.com/2009_05_10_archive.html'> 05/10 - 05/17 </a> <span class='post-count' dir='ltr'>(11)</span> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget PopularPosts' data-version='1' id='PopularPosts1'> <h2>Popular Posts</h2> <div class='widget-content popular-posts'> <ul> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2010/03/8-postfix-transport-table-smtp-routing.html'>8. Postfix Transport Table - SMTP Routing</a></div> <div class='item-snippet'>     This feature allows to route messages to additional domains according to the Map defined. Here Postfix accepts the message and rather t...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2011/11/password-policy-rules-in-linux.html'>Password policy rules in Linux</a></div> <div class='item-snippet'> Setting up stronger password policy rules in Linux Increased password security is no longer an optional item in setting up a ...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2009/10/linux-securirty-notes-14-squid-notes-8.html'>Linux Securirty Notes 14: Squid notes 8: Cache Hierarchies & Transparent Proxy</a></div> <div class='item-snippet'>Squid cache Hierarchies : Parent-Child Hierarchies:     Here we will define the parent child cache peering relationship. The cache will ...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2009/08/linux-system-check-commands.html'>Linux System check commands</a></div> <div class='item-snippet'> CPU info # cat /proc/cpuinfo; echo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model nam...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2010/01/4-selinux-type-context-chcon-restorecon.html'>4. SELinux TYPE Context : chcon & restorecon</a></div> <div class='item-snippet'> Changing and restoring the Types:(chcon with Apache public directory) We will explain the usage of chcon and restorecon with the followi...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2010/02/4-postfix-aliases-forward-file.html'>4. Postfix Aliases & .forward file</a></div> <div class='item-snippet'> Aliases     The common entries in aliases file are postmaster, abuse etc. The default aliases file is located at the /etc/aliases used by ...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2009/07/scalr-errors-after-install.html'>Scalr errors after install</a></div> <div class='item-snippet'>After installing Scalr and adding a client I've tried to add an application to test out my setup. But at the second step I've got an...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2010/12/installing-and-configuring-modsecurity.html'>Installing and configuring mod_security-Ubuntu 9.04</a></div> <div class='item-snippet'> This how-to is reported to work in Ubuntu 8.04-10.10 as well. What is mod_security you ask ? Mod Security can significantly increase t...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2014/06/how-to-tunnel-everything-through-ssh.html'>How to tunnel everything through SSH</a></div> <div class='item-snippet'> Problem: You don’t trust your Internet connection (public wifi at a cafĂ©, airport, ..), or perhaps it’s being limited by a firewall (C...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://kiranjith83.blogspot.com/2010/02/5-postfix-remote-mail-masquerading.html'>5. Postfix - Remote mail, Masquerading, Canonical Names & BCC Maps</a></div> <div class='item-snippet'> Receiving Remote Mail:  Configuring postfix to receive mail from address as "user@example.com"     Until and unless we specify...</div> </div> <div style='clear: both;'></div> </li> </ul> <div class='clear'></div> </div> </div><div class='widget Feed' data-version='1' id='Feed1'> <h2>nix Talk</h2> <div class='widget-content' id='Feed1_feedItemListDisplay'> <span style='filter: alpha(25); opacity: 0.25;'> <a href='http://feeds.cyberciti.biz/Nixcraft-LinuxFreebsdSolarisTipsTricks'>Loading...</a> </span> </div> <div class='clear'></div> </div><div class='widget Stats' data-version='1' id='Stats1'> <h2>Total Pageviews</h2> <div class='widget-content'> <div id='Stats1_content' style='display: none;'> <script src='https://www.gstatic.com/charts/loader.js' type='text/javascript'></script> <span id='Stats1_sparklinespan' style='display:inline-block; width:75px; height:30px'></span> <span class='counter-wrapper graph-counter-wrapper' id='Stats1_totalCount'> </span> <div class='clear'></div> </div> </div> </div><div class='widget HTML' data-version='1' id='HTML1'> <h2 class='title'>Lin u X u niL hit counter</h2> <div class='widget-content'> <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=5498838; var sc_invisible=0; var sc_partition=60; var sc_click_stat=1; var sc_security="263b5a36"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a title="blogspot hit counter" class="statcounter" href="http://www.statcounter.com/blogger/"><img class="statcounter" src="http://c.statcounter.com/5498838/0/263b5a36/0/" alt="blogspot hit counter" /></a></div></noscript> <!-- End of StatCounter Code --> </div> <div class='clear'></div> </div><div class='widget Subscribe' data-version='1' id='Subscribe1'> <div style='white-space:nowrap'> <h2 class='title'>Fire up the Feed</h2> <div class='widget-content'> <div class='subscribe-wrapper subscribe-type-POST'> <div class='subscribe expanded subscribe-type-POST' id='SW_READER_LIST_Subscribe1POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2Fposts%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='https://kiranjith83.blogspot.com/feeds/posts/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Posts </span> </span> </div> <div class='bottom'></div> </div> </div> <div class='subscribe-wrapper subscribe-type-PER_POST'> <div class='subscribe expanded subscribe-type-PER_POST' id='SW_READER_LIST_Subscribe1PER_POST' style='display:none;'> <div class='top'> <span class='inner' onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comments </span> <div class='feed-reader-links'> <a class='feed-reader-link' href='https://www.netvibes.com/subscribe.php?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2F2499146778707936924%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-netvibes.png'/> </a> <a class='feed-reader-link' href='https://add.my.yahoo.com/content?url=https%3A%2F%2Fkiranjith83.blogspot.com%2Ffeeds%2F2499146778707936924%2Fcomments%2Fdefault' target='_blank'> <img src='https://resources.blogblog.com/img/widgets/subscribe-yahoo.png'/> </a> <a class='feed-reader-link' href='https://kiranjith83.blogspot.com/feeds/2499146778707936924/comments/default' target='_blank'> <img align='absmiddle' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Atom </a> </div> </div> <div class='bottom'></div> </div> <div class='subscribe' id='SW_READER_LIST_CLOSED_Subscribe1PER_POST' onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <div class='top'> <span class='inner'> <img class='subscribe-dropdown-arrow' src='https://resources.blogblog.com/img/widgets/arrow_dropdown.gif'/> <span onclick='return(_SW_toggleReaderList(event, "Subscribe1PER_POST"));'> <img align='absmiddle' alt='' border='0' class='feed-icon' src='https://resources.blogblog.com/img/icon_feed12.png'/> Comments </span> </span> </div> <div class='bottom'></div> </div> </div> <div style='clear:both'></div> </div> </div> <div class='clear'></div> </div></div> </aside> </div> </div> <div class='column-right-outer'> <div class='column-right-inner'> <aside> </aside> </div> </div> </div> <div style='clear: both'></div> <!-- columns --> </div> <!-- main --> </div> </div> <div class='main-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> <footer> <div class='footer-outer'> <div class='footer-cap-top cap-top'> <div class='cap-left'></div> <div class='cap-right'></div> </div> <div class='fauxborder-left footer-fauxborder-left'> <div class='fauxborder-right footer-fauxborder-right'></div> <div class='region-inner footer-inner'> <div class='foot no-items section' id='footer-1'></div> <table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'> <tbody> <tr> <td class='first columns-cell'> <div class='foot section' id='footer-2-1'><div class='widget BlogSearch' data-version='1' id='BlogSearch1'> <h2 class='title'>google Lin u X u niL</h2> <div class='widget-content'> <div id='BlogSearch1_form'> <form action='https://kiranjith83.blogspot.com/search' class='gsc-search-box' target='_top'> <table cellpadding='0' cellspacing='0' class='gsc-search-box'> <tbody> <tr> <td class='gsc-input'> <input autocomplete='off' class='gsc-input' name='q' size='10' title='search' type='text' value=''/> </td> <td class='gsc-search-button'> <input class='gsc-search-button' title='search' type='submit' value='Search'/> </td> </tr> </tbody> </table> </form> </div> </div> <div class='clear'></div> </div></div> </td> <td class='columns-cell'> <div class='foot section' id='footer-2-2'><div class='widget HTML' data-version='1' id='HTML2'> <h2 class='title'>Free Blog Promotion</h2> <div class='widget-content'> <center><!--Do not alter or remove this banner ID code! Data Member=kiranjith83@gmail.com tracker ID = CCY4Z7ZT--!> <a href="http://official.my/" id="CCY4Z7ZT"><img id="CCY4Z7ZT" src="http://official.my/images/freeurlsubmission_125x125.png" border="0" /></a> <!--End Official Free Search Engine Submission banner tracker code--!><br /> <a href="http://www.official.my/addurl.php">Official Web Promotion</a></center> <br /><br /> <a href="http://www.alexa.com/siteinfo/official.my"><script type='text/javascript' language='javascript' src='http://xslt.alexa.com/site_stats/js/s/a?url=http://www.alltimecricket.com'></script></a><br /> </div> <div class='clear'></div> </div></div> </td> </tr> </tbody> </table> <!-- outside of the include in order to lock Attribution widget --> <div class='foot section' id='footer-3' name='Footer'><div class='widget Attribution' data-version='1' id='Attribution1'> <div class='widget-content' style='text-align: center;'> Simple theme. Powered by <a href='https://www.blogger.com' target='_blank'>Blogger</a>. </div> <div class='clear'></div> </div></div> </div> </div> <div class='footer-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </footer> <!-- content --> </div> </div> <div class='content-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </div> <script type='text/javascript'> window.setTimeout(function() { document.body.className = document.body.className.replace('loading', ''); }, 10); </script> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/984859869-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY4TfNpLVrnqb7lg9TaS1sF0kX0L7A:1732377446799';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d6074822044921090','//kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html','6074822044921090'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '6074822044921090', 'title': 'Lin u X u niL', 'url': 'https://kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html', 'canonicalUrl': 'http://kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html', 'homepageUrl': 'https://kiranjith83.blogspot.com/', 'searchUrl': 'https://kiranjith83.blogspot.com/search', 'canonicalHomepageUrl': 'http://kiranjith83.blogspot.com/', 'blogspotFaviconUrl': 'https://kiranjith83.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Lin u X u niL - Atom\x22 href\x3d\x22https://kiranjith83.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Lin u X u niL - RSS\x22 href\x3d\x22https://kiranjith83.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Lin u X u niL - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/6074822044921090/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Lin u X u niL - Atom\x22 href\x3d\x22https://kiranjith83.blogspot.com/feeds/2499146778707936924/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-3696309137922042', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/d78375fb222d99b3', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'item', 'postId': '2499146778707936924', 'pageName': 'Text manipulation \x27sed\x27', 'pageTitle': 'Lin u X u niL: Text manipulation \x27sed\x27'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'Simple', 'localizedName': 'Simple', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': false, 'variant': 'bold', 'variantId': 'bold'}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Text manipulation \x27sed\x27', 'description': '1. #sed \x27s/string1/string2/g\x27 \r (Replace string1 with string2)\r \r 2. #sed \x27s/\\(.*\\)1/\\12/g\x27 \r (Modify anystring1 to anystring2)\r \r 3. #sed ...', 'url': 'https://kiranjith83.blogspot.com/2009/07/text-manipulation-sed.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 2499146778707936924}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/2646514562-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/1964470060-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML3', 'sidebar-left-1', document.getElementById('HTML3'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_LabelView', new _WidgetInfo('Label1', 'sidebar-left-1', document.getElementById('Label1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar-left-1', document.getElementById('Profile1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_SubscribeView', new _WidgetInfo('Subscribe2', 'sidebar-left-1', document.getElementById('Subscribe2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar-left-1', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_PopularPostsView', new _WidgetInfo('PopularPosts1', 'sidebar-left-1', document.getElementById('PopularPosts1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeedView', new _WidgetInfo('Feed1', 'sidebar-left-1', document.getElementById('Feed1'), {'title': 'nix Talk', 'showItemDate': false, 'showItemAuthor': false, 'feedUrl': 'http://feeds.cyberciti.biz/Nixcraft-LinuxFreebsdSolarisTipsTricks', 'numItemsShow': 5, 'loadingMsg': 'Loading...', 'openLinksInNewWindow': false, 'useFeedWidgetServ': 'true'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_StatsView', new _WidgetInfo('Stats1', 'sidebar-left-1', document.getElementById('Stats1'), {'title': 'Total Pageviews', 'showGraphicalCounter': true, 'showAnimatedCounter': true, 'showSparkline': true, 'statsUrl': '//kiranjith83.blogspot.com/b/stats?style\x3dBLACK_TRANSPARENT\x26timeRange\x3dALL_TIME\x26token\x3dAPq4FmDNkJY-S2hk7pIg9O8NNZWHbxhwXq2fnFul0wYLCzzxHWnHDc2vfYAFWpwFn-szFdrel7uNMaeeE3T4uM-pFtyQi9yI7g'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar-left-1', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_SubscribeView', new _WidgetInfo('Subscribe1', 'sidebar-left-1', document.getElementById('Subscribe1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogSearchView', new _WidgetInfo('BlogSearch1', 'footer-2-1', document.getElementById('BlogSearch1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'footer-2-2', document.getElementById('HTML2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer-3', document.getElementById('Attribution1'), {}, 'displayModeFull')); </script> </body> </html>