LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 04: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, 06: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:27 PM
Setting the path davee Linux - General 7 09-26-2003 03:17 PM
setting PATH tda Linux - Newbie 1 04-29-2002 01:54 PM
HELP for Java class path setting in linux sasi Linux - Software 1 12-14-2001 07:43 AM
PATH SETTING webboss Linux - Newbie 2 03-17-2001 06:29 PM


All times are GMT -5. The time now is 02:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration