Web Hosting Talk







View Full Version : Quick question


hardweb
07-10-2002, 03:22 AM
I log to a server using ssh, bash shell. Everytime I save environment variables like PATH are saved only for the current session.
How can I save the settings? Pretty annoying to define the same variables everytime. Thanks!

chirpy
07-10-2002, 04:01 AM
You need to add your settings to .bash_profile in your home directory. The server-wide profile is in /etc/profile

man bash ;)