<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ls on Amit Agarwal Linux Blog</title>
    <link>/tags/ls/</link>
    <description>Recent content in Ls on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 27 May 2010 11:44:41 +0000</lastBuildDate>
    
	<atom:link href="/tags/ls/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Pimp your ls</title>
      <link>/2010/05/27/pimp-your-ls/</link>
      <pubDate>Thu, 27 May 2010 11:44:41 +0000</pubDate>
      
      <guid>/2010/05/27/pimp-your-ls/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are some of the things that you can do with your ls command.&lt;/p&gt;
&lt;p&gt;First off you can use alias&amp;amp;#8217;s to help you type the most typical ls commands. I will give you some examples:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;alias ls =&amp;amp;#8221;ls –color –classify&amp;amp;#8221;&lt;br&gt;
alias ls.=&amp;amp;#8221;ls -d .*&amp;amp;#8221;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Very commonly used :&lt;/p&gt;
&lt;blockquote&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;2&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      alias ll=&amp;quot;ls -lhvrt&amp;quot;&amp;lt;br /&amp;gt; lsd=&amp;quot;ls -lUd */&amp;quot; # List directories only
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;And after all this you can download the l script from pixelbeat. Quite interesting:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Color output from ls – based on file type</title>
      <link>/2010/02/04/color-output-from-ls-based-on-file-type/</link>
      <pubDate>Thu, 04 Feb 2010 15:58:29 +0000</pubDate>
      
      <guid>/2010/02/04/color-output-from-ls-based-on-file-type/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Threre are certain default variables which control the color of the output from the ls command, so we will talk about them today.&lt;/p&gt;
&lt;p&gt;The first one is to get the color output from the &amp;amp;#8221;ls&amp;amp;#8221; command. We will look at the various ways to do this:&lt;/p&gt;
&lt;p&gt;First is to use this with default colors:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ls –color=auto&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now this will use the default colors which might not go with your liking 🙂 So if you want to change the colors you can use the variable called LS_COLORS.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
