LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-14-2001, 03:54 AM   #1
penguin
LQ Newbie
 
Registered: Feb 2001
Location: Lebanon
Distribution: Mandrake 9.2
Posts: 11

Rep: Reputation: 0
Question


Hi, I have Linux RedHat 7.0 and a book called Linux for Newbie but it doesn't say anything about how to configure a path for users or to add something to a path.

can someone tell me how and recommend a book?

thanks a lot
 
Old 02-14-2001, 05:28 AM   #2
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
If you want to make systemwide changes to your path, you have to do it in /etc/profile.
But it is better to adjust the path settings in the users home directoy by editing the ".bash_profile" (if you are using the bash).
Add new path to the line "PATH=$PATH:$HOME/.....:/
After editing this file you have to "source" it with the following command: ". ./.bash_profile". By doing so, the .bash_profile is beeing re-read by the shell.

For documentation take a look at http://www.linuxdoc.org. There you will find most of the stuff you need.

cu
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting PATH martint Linux - Newbie 2 11-15-2003 04:27 PM
Setting the path davee Linux - General 7 09-26-2003 02:17 PM
setting PATH tda Linux - Newbie 1 04-29-2002 12:54 PM
HELP for Java class path setting in linux sasi Linux - Software 1 12-14-2001 06:43 AM
PATH SETTING webboss Linux - Newbie 2 03-17-2001 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration