If your shell is a login shell, /etc/profile is executed. (usually something like konsole --ls, or bash -l, or "su -") .bashrc is executed by bash (your shell) when it starts. There might also be a /etc/bashrc for all users.
The slackware version of /etc/profile contains something interesting: it also runs all /etc/profile.d/*.sh files, if they are executable. (use chmod +x <file name> for that) If your distro has something like that, this might be a nice way to make the settings permanent, and global for all users. (just add another script there)
I've been experimenting with .bashrc, to execute /etc/profile automatically if it hasn't been done, but it's kind of tricky, because you don't want this to happen if you're using sftp (works over ssh)
Last edited by yapp; 09-17-2003 at 05:33 AM.