Monday, February 18, 2013

Alias on Linux profile

I had a problem on ubuntu (& debian)shells. That is i can't use "ll" command as i used in Fedora. Most of the time I use "ll" command just after go into a folder. Always i retyped "ls -l" to get the same out put which gives from "ll" command on fedora. So I found a simple solution for it. That is use alias on profile.

Open the profile
&gt vi ~/.profile

Add this at the bottom.
#Alias 
alias ll="ls -l"

Save and quit.
:wq

Source the profile
>source ~/.profile

Now check the result.
>ll

   You feel like fedora...

No comments: