Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-17-2007, 06:39 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Environment variables


I am an newbie and lots of computer terms are new to me.
Can you please explain to me what does environment variable means?

I search for an answer in google but there is no clear answer i found.

Old 01-17-2007, 06:43 PM   #2
LQ Newbie
Registered: Jul 2002
Posts: 23

Rep: Reputation: 15
Environmental variables are system wide variables containing information about your system and your system set up.

They hold information including paths to certain libraries.

Try typing...

in to a console - that will list all of the environmental variables set on your system.
Old 01-17-2007, 06:44 PM   #3
Registered: Aug 2002
Posts: 14,761

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
In technical terms

A good example is the path environment. When you want to run an application from the command line if you do not include the complete path the shell will search thru the directories listed in the path environment and if not found will display an error or if found run the application. Unlike windows linux does not search the current working directory.

Last edited by michaelk; 01-17-2007 at 06:50 PM.


environmental, variables

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 slinky2004 Linux - General 4 11-26-2005 09:59 AM
environment variables in c++ s3b0 Programming 6 08-27-2004 09:19 AM
Environment Variables if you su concoran Linux - Newbie 1 08-16-2002 07:18 PM
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

All times are GMT -5. The time now is 03:33 AM.

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