Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I have some Python scripts in $HOME/sandbox which I want to make permanently executable for everyone, but at least for me (user 'ulrich') if the former is not possible. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    476

    Changing PATH permanently


    Hello,

    I have some Python scripts in $HOME/sandbox which I want to make permanently executable for everyone, but at least for me (user 'ulrich') if the former is not possible.

    I have done PATH=$PATH:/home/ulrich/sandbox and it works, only until I change directories (why is that?) or until I log out and log back in. I want this to work permanently.

    I use Debian Lenny and I have checked and I don't have .bash_profile or .bashrc in my home directory. What am I supposed to do. Also what is the difference between export and just plain PATH?

  2. #2
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    476
    I just went to create a .bashrc since there wasn't one and added PATH=$PATH:/home/ulrich/sandbox and logged in again and it's working.

    Thanks.

Posting Permissions

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