Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-06-2004, 02:11 PM
|
#1
|
Member
Registered: Mar 2004
Posts: 40
Rep:
|
Editiing my PATH for a bash shell???
Hello all......I'm trying to add this mvl-update packages script to my bash shell like in the instructions, and I think I'm doing it wrong....could anyone help me out with this? I simply followed the directions below, but it doesn't appear to be working.....I added this line to /etc/bashrc:
PATH=$PATH:/opt/montavista/cge/host/bin
Should this be enough? what am I missing? thanks!
Set your PATH to include mvl-rpm. By default, mvl-rpm is located in /opt/montavista/cge/host/bin. To update your PATH for a bash shell, complete the following steps:
Add the new path to the shell initialization script (for instance, /etc/bashrc).
PATH=$PATH:/opt/montavista/cge/host/bin
|
|
|
07-06-2004, 02:22 PM
|
#2
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
You'll need one other step to finish things. Bas does not re-read the configuration files unless it needs to or you explicitly tell it to.
If you use a GUI like Gnome or KFE, then you'll probably have to log out, and then log back in for the changes to be completely incorporated.
If you just want to get something going "right now", then type source /etc/bashrc at a command line. Your path will be updated for that shell only. You'll need to do the logout/login thing above to flush the change to every shell you start in the future.
If that doesn't work, then there's something fubar'd in how the configuration files are set up.
|
|
|
07-06-2004, 02:22 PM
|
#3
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
In order for bash to pick up the changes you have to start a new shell so logout and log back in.
<EDIT>
Dark_Helmet beat me to this one.
|
|
|
07-06-2004, 02:45 PM
|
#4
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
Hehehe... If I beat you to it, it probably has something to do with the fact I can't spell and left off "extraneous" characters. You know, I've always felt the 'h' in 'Bash' was completely unnecessary
|
|
|
All times are GMT -5. The time now is 07:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|