Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-01-2003, 05:28 PM   #1
Registered: Aug 2003
Location: DMZ
Distribution: Ubuntu
Posts: 144

Rep: Reputation: 15
RC.D Stuff

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, 05:49 PM   #2
Senior Member
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
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, 08:08 PM   #3
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


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 / openSUSE 1 12-25-2004 05:37 PM
Where did all my stuff go?? spaztik Linux - Newbie 7 02-06-2004 10:18 AM
stuff you need for it to be....right Underworld Linux - General 1 10-18-2003 09:23 PM
Where is Stuff??? NW Otter Linux - Newbie 7 09-24-2003 06:50 AM
Stuff beatman Linux - Software 6 08-03-2003 02:07 PM > Forums > Linux Forums > Linux - Newbie

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

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