Pimp your ls
2010-05-27
105 words
1 min read
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 :
1
2
<td> <div class="text codecolorer"> alias ll="ls -lhvrt"<br /> lsd="ls -lUd */" # List directories only </div> </td> </tr>
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">
Related Articles:
- 2009/12/20 Know when you will type :q in your term instead of vi(m), the alias will chewed you out.
- 2010/05/25 Filename handling with space and newline character.
- 2010/05/24 Menu driven ssh.
- 2010/05/19 Display the history and optionally grep
- 2010/05/19 bash script to change icon theme to check out all the installed themes (personal)