Possible Duplicate:
How to make exported shell variables permanent?
Each time I set the $PYTHONPATH
on my new Ubuntu server machine (old Thinkpad) and reboot, it's reset to blank.
I'm setting it like this:
export PYTHONPATH=/usr/lib/python2.7
If I ask it after that to echo $PYTHONPATH
it will. And it finds modules on the path. But it loses it when I reboot. Any ideas why?
~/.profile
is session-wide, not system-wide. It's probably not what you want. – Chris Down Nov 13 '11 at 23:03etc/environment
. Still learning Unix. Thanks. – Artur Sapek Nov 14 '11 at 00:08