Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding $PATH variables... How to make permanent??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fwempa
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 150

PostPosted: Wed Nov 16, 2005 3:16 am    Post subject: Adding $PATH variables... How to make permanent?? Reply with quote

I would like to add the apache start script path to my roots PATH variable permanently. Can you please help me out???
Can't get it to work by modifying files in /etc/env.d. I add a file named 00myfile to /etc/env.d folder with the updates, but they do not propagate when i run env-update && source /etc/profile. Apparently the root is not being updated by /etc/profile updates>HELP.
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Wed Nov 16, 2005 3:22 am    Post subject: Reply with quote

Why not put it in /etc/profile
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
fwempa
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 150

PostPosted: Wed Nov 16, 2005 3:26 am    Post subject: Reply with quote

Quote:
Why not put it in /etc/profile


tried that... does not seem to be working
Back to top
View user's profile Send private message
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Wed Nov 16, 2005 4:06 am    Post subject: Reply with quote

You could edit ~/.bashrc :wink:.

- bob_111
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Sat Nov 19, 2005 6:03 pm    Post subject: Reply with quote

How? Just add a '$PATH:' option somewhere?
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Sun Nov 20, 2005 12:22 pm    Post subject: Reply with quote

have a look here...hope it helps you...
Back to top
View user's profile Send private message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Sun Nov 20, 2005 6:15 pm    Post subject: Reply with quote

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum