Results 1 to 2 of 2

Thread: Quick question

  1. #1
    Join Date
    Oct 2001

    Question Quick question

    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!

  2. #2
    You need to add your settings to .bash_profile in your home directory. The server-wide profile is in /etc/profile

    man bash

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts