Visit Jeremy's Blog.
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 04-13-2004, 04:37 PM   #1
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, 04:54 PM   #2
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.


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

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

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