Pimp your ls

2010-05-27 1 min read bash

Here are some of the things that you can do with your ls command.

First off you can use alias’s to help you type the most typical ls commands. I will give you some examples:

alias ls =”ls –color –classify”
alias ls.=”ls -d .*”

Very commonly used :

  <td>
    <div class="text codecolorer">
      alias ll="ls -lhvrt"<br /> lsd="ls -lUd */" # List directories only
    </div>
  </td>
</tr>
1
2

And after all this you can download the l script from pixelbeat. Quite interesting:

<a href="http://www.pixelbeat.org/scripts/l">http://www.pixelbeat.org/scripts/l<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/853662a7-0e28-48ac-a1e9-055e66921d9e/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b27.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

comments powered by Disqus