export PATH (newbie question)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all-

I have googled, searched the archive, and read my RH Linux books, and I must be missing something here.

<revealing ugly newbie wart...>

I have a program that I want to run from the command line on a fairly frequent basis, and do not want to have to specify the path every time (as it is several directories down), so after having done the above research, I see that I can type:

export PATH=$PATH:/directory/subdirectory

which adds the necessary directory to my path variable. Works fine, and I can run my little program to my heart's content, just by typing it's name. Fine...

That is, until I reboot, at which point my PATH variable goes back to whatever it was set up to by Red Hat, and I have to type the above command in again (or just navigate to the program I am trying to start). What a pain! I am guessing that there is a file somewhere (in /etc?) that stores a PERSISTANT copy of the PATH variable, and that this is where I need to make my changes. Can anyone point me in the right direction? If it makes a difference, I am using Fedora Core test 3, with all Rawhide updates.

</covering up newbie wart with embarrassment....>

TIA for any info,

-Sean Earp


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux