chrno
15th May 2006, 21:15
I've got a Debian Sarge server which I'll ssh to login and then su to root. But the shell is normally no color (when i do a "ls"). I had to execute alias ls='ls -F --color ' each time I login. A search on google tell me that if I i put it into .bash_profile it should be executed whenever a user logins or do a su. But this aren't working. What am I doing wrong here?
nano ~/.bash_profile
alias ls='ls -F --color '
nano ~/.bash_profile
alias ls='ls -F --color '