LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-10-2009, 02:28 AM   #1
hellowb
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
environment variables


hello... i've got a problem with environment variables...
basically it is this, when i telnet or ssh into my linux
machine, the same bash environment variables are not set
as when i physically log into the linux machine..
do i need to manually run ~/.profile or ~/.bash_profile when logging
in via telnet to get bash to initialize the environment variables?
weird.. thanks...
 
Old 03-10-2009, 03:30 AM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Helps to know what flavor of linux your using...

I know with a gentoo variant I would use a

Code:
env-update

source /etc/profiles
 
Old 03-10-2009, 04:10 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
What does machine display when you ssh?
Paste here.
 
Old 03-10-2009, 04:35 AM   #4
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
Which of the bash variables don't get set?
 
Old 03-11-2009, 11:28 PM   #5
hellowb
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
...

the env variables that don't get set are quite a few orcale environment variables which need to be set to run sqlplus properly...
 
  


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 tombelcher7 Linux - Software 5 10-11-2016 10:42 AM
Environment Variables - where do they go!?! iansoundz Linux - General 7 11-17-2005 03:27 AM
environment variables naren Linux - Software 1 12-15-2004 07:44 AM
Environment variables kdnt Linux - Newbie 11 11-01-2002 09:19 AM
environment variables aethereal Linux - Newbie 7 12-19-2001 10:34 AM


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