LinuxQuestions.org
Register a domain and help support LQ
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 10-20-2010, 08:25 AM   #1
AlexFr
LQ Newbie
 
Registered: May 2010
Posts: 24

Rep: Reputation: 0
Environment variables


What are possible ways to set persistent environment variable in Ubuntu? Some time ago I added some variable, now I need to change it, but I don't remember where it is kept. I tried ~/.bashrc, ~/.profile, /etc/profile, but it is not there.
 
Old 10-20-2010, 08:32 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,243

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Try checking some of the following:
Code:
/etc/bash.bashrc
/etc/profile.d/*
 
1 members found this post helpful.
Old 10-20-2010, 12:13 PM   #3
AlexFr
LQ Newbie
 
Registered: May 2010
Posts: 24

Original Poster
Rep: Reputation: 0
Thanks! It was in /etc/profile.d/
 
  


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
environment variables hellowb Linux - Newbie 4 03-11-2009 11:28 PM
Environment variables xeon123 Linux - General 6 05-18-2007 08:57 PM
environment variables Prakhardeep Linux - Software 3 10-06-2004 04:30 AM
environment variables kakridge Linux - Newbie 1 07-14-2003 07:25 PM
environment variables da Perp Linux - Newbie 5 01-23-2002 10:34 AM


All times are GMT -5. The time now is 04:07 PM.

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