LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-13-2004, 05:37 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
listing environment variables


I routinely like to see what environment variables I have running.

So I use "env" or "printenv". Both seem to do the same thing.

However, I never seem to see LD_LIBRARY_PATH in there, which is odd, as its one of the more famous environment variables around.

So I moved on to using "set" which is really long, and really seems to be a script. It's not to friendly anyhow.

Is there anybody out there who feels they have good control over their env vars who'd be willign to comment on the above impressions?
 
Old 04-13-2004, 05:54 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
set is for setting global enviornment variables to the shell, setenv is for csh or tcsh I believe.

and LD_LIBRARY_PATH is set when compiling from the Makefile I think.
 
  


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 user_linux Linux - Newbie 3 06-15-2005 09:46 AM
environment variables Prakhardeep Linux - Software 3 10-06-2004 04:30 AM
Environment variables kdnt Linux - Newbie 11 11-01-2002 09:19 AM
environment variables da Perp Linux - Newbie 5 01-23-2002 10:34 AM
environment variables aethereal Linux - Newbie 7 12-19-2001 10:34 AM


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