SalixOS bash Tips
Colorful terminal
To make it more clear if you are normal user or root in a terminal you can change the color.
Change the export PS1='\u[\W]\$ ' in ~/.bashrc to:
export PS1='\e[0;32m[\u[\W]\$ \e[m'
For root change the export PS1='\u[\W]\$ ' in /root/.bashrc to:
export PS1='\e[0;31m[\u[\W]\$ \e[m'
In ~/.bash_profile add the folowing:
#!/bin/sh
source $HOME/.bashrc
if .bash_profile don't exists then just create it.
Another tips is to change colors on files and maps on listing.
Add the folowing to ~/.bashrc:
alias ls="ls --color=auto"
Changed: 08-May-2013