LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how do i set global prefs for bash (https://www.linuxquestions.org/questions/slackware-14/how-do-i-set-global-prefs-for-bash-48601/)

polonius19 03-06-2003 03:26 PM

how do i set global prefs for bash
 
I've recently installed slackware 8.1 on a pIII 500 w/ 128 MB and for the most part everything's been going pretty well.

The problem i'm having is everytime i log in i have to do
$export PATH=$PATH:/sbin
The docs i've found on bash indicate that i should be able to edit .bashrc to add /sbin to PATH, but i can't find that file (and yes, i've looked for hidden files). I've also read that it could also be called .profile, but i can't find that either. I've looked in the home directory and the /root, but no go.

Does anyone have any ideas?

MasterC 03-06-2003 03:34 PM

If you just want it for one use, go ahead and create your own .bashrc file. If you want it for everyone, edit /etc/profile and add it to the path line, or at the bottom.

:)

Cool

polonius19 03-06-2003 05:23 PM

That was it. Thanks!


All times are GMT -5. The time now is 07:28 PM.