LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-30-2005, 12:59 PM   #1
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
PATH (noob) problem:)


Hi!

I need to add same locations to the PATH variable. PATH=$PATH:/location works fine... till restart of course .
The question is, how to modify PATH, but permanently (for every system start).

Thanks for answers!
 
Old 06-30-2005, 02:05 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
If you want to do it for all users, add it to /etc/profile.

If you want it for just yourself, add it to ~/.bash_profile.
 
  


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
noob looking for help, problem with wine! newpants2003 Linux - Newbie 1 06-02-2005 01:08 AM
10.1 + SCSI + noob = problem ephex Mandriva 1 05-18-2005 09:44 PM
Help a noob programmer - Access the $PATH antjf Programming 2 10-24-2004 01:24 PM
[noob] problem with 9.2 bootup d0h Mandriva 4 02-29-2004 08:22 AM
Noob: Wvdial problem KptnKrill Linux - General 4 06-02-2003 09:43 AM


All times are GMT -5. The time now is 04:00 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