LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-01-2003, 04:28 PM   #1
gr33ndata
Member
 
Registered: Aug 2003
Location: DMZ
Distribution: Ubuntu
Posts: 144

Rep: Reputation: 15
RC.D Stuff


Hi
I want to add some path in the path of my envronmental variables
However, whenever I use the export comman to add it and shutdown my pc it forgets everythink
I know that I can add that export command into some script in the rc.d files or so, in order to be run whenever I start my PC .... But I do not know where in particular
 
Old 11-01-2003, 04:49 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
oh, I had to do that before, it is excessivly easy, edit the bash profile config file, it is clear how once inside... problem is I forget what the file is called, and where it is.. bashrc I think one in home asd .bashrc, and one in etc somewhere... sorry I can't be more specific
 
Old 11-01-2003, 07:08 PM   #3
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Rep: Reputation: 15
If you want a particular path for one user, append the path to the existing path statement for that user in their ~/.bashrc file. The ~/ is the same as saying their home directory (/home/jobloggs; /root etc). Whatever you put in the /etc/bashrc file becomes global for all users.

Hope this helps
 
  


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
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon Suse/Novell 1 12-25-2004 04:37 PM
Where did all my stuff go?? spaztik Linux - Newbie 7 02-06-2004 09:18 AM
stuff you need for it to be....right Underworld Linux - General 1 10-18-2003 08:23 PM
Where is Stuff??? NW Otter Linux - Newbie 7 09-24-2003 05:50 AM
Stuff beatman Linux - Software 6 08-03-2003 01:07 PM


All times are GMT -5. The time now is 06:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration