<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Guided Tour on Amit Agarwal Linux Blog</title>
    <link>/tags/guided-tour/</link>
    <description>Recent content in Guided Tour on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 20 Jul 2010 03:47:09 +0000</lastBuildDate>
    
	<atom:link href="/tags/guided-tour/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Linux command to repeat a string n times - Super User</title>
      <link>/2010/07/20/linux-command-to-repeat-a-string-n-times-super-user/</link>
      <pubDate>Tue, 20 Jul 2010 03:47:09 +0000</pubDate>
      
      <guid>/2010/07/20/linux-command-to-repeat-a-string-n-times-super-user/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was working on something and needed to output the string n times. I have required this even to print a line with &amp;amp;#8217;-&amp;amp;#8217; or &amp;amp;#8217;=&amp;amp;#8217; but this time I badly wanted it in bash. So I searched google and found this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;printf &amp;amp;#8221;Amit Agarwal%.0s&amp;amp;#8221; {1..5}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Explanations and other examples: &amp;lt;a href=&amp;quot;http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times&amp;quot;&amp;gt;http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times&lt;/a&gt;&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.rateitall.com/i-3177235-flat-rate-us-terminations.aspx&amp;quot;&amp;gt;1 reviews of Flat-Rate US Terminations&lt;/a&gt; (rateitall.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.brighthub.com/computing/linux/articles/75743.aspx&amp;quot;&amp;gt;Top Linux GUI&lt;/a&gt; (brighthub.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.gnu.org/software/emacs/tour/&amp;quot;&amp;gt;A guided tour of Emacs&lt;/a&gt; (gnu.org)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Enhanced by Zemanta&amp;quot; href=&amp;quot;http://www.zemanta.com/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_e6.png&amp;quot; alt=&amp;quot;Enhanced by Zemanta&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
