Quote:
Originally Posted by jCash
what is this "~"?
|
~ is equivalent to $HOME, so probably /home/username
Quote:
"or ~/.profile -> for one user"
Do I go to /home/username/.profile?
or ~/.bash_profile -> for one user that uses bash
Do I go /home/username/.bash_profile ?
|
Yes.
I just had a look at my suse 10.2 and you can either put it in /etc/profile for all users or
/home/user/.profile for one single user
Put the line at the end
You have to restart your window manager so that changes apply. Because it's an environment variable, read and set once per session.