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? |
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 |
That was it. Thanks!
|
All times are GMT -5. The time now is 07:28 PM. |