Change default ls behavior
I know that this is simple because I think I did it years ago when I first tried Linux. What I want to do is to get the command ls to display in the style of ls -l (that's L) by default. I thought that it had something to do with .bashrc, but I really don't want to mess up my system by doing things willy-nilly.
I figure this is an easy one, so feel free to call me stupid. I should know this. Thanks. -- bgfay |
Hi.
In .bashrc, put in the line: alias ls='ls -l' Dave |
Thank you. I knew that it was something obvious. I've made the change and all is well.
-- bgfay |
If you are using RedHat / Fedora, you can use
#ll which is essentially an alias for ls -l |
don't you want --color too
|
Sure, I'll give that a shot too. Thanks.
|
All times are GMT -5. The time now is 08:12 AM. |