The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
environment variables radhika03 Shell Programming and Scripting 3 01-22-2007 01:58 PM
environment variables sumsin High Level Programming 6 03-13-2006 11:17 AM
environment variables spavlov UNIX for Dummies Questions & Answers 3 08-20-2003 09:49 AM
environment variables Esaia High Level Programming 2 02-20-2003 08:19 PM
what is the use of Environment variables indianguru UNIX for Dummies Questions & Answers 2 07-24-2001 09:41 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2005
sekar sundaram sekar sundaram is offline
Registered User
  
 

Join Date: Jul 2005
Location: banagalore
Posts: 44
help..Environment variables...

hi,

1). i would like to know what is meant by environment variables?
2). is the number of envi variables is a constant number for unix systems?
3). how to see the list of envi variables (and the values of the envi variables)in a single command?

4). if this questions were already asked please give the links for the threads?


thanks,
sekar
  #2 (permalink)  
Old 08-25-2005
Unbeliever Unbeliever is offline
Registered User
  
 

Join Date: Jul 2005
Location: England
Posts: 183
1) An environment variable is simply a piece of information identified by a particular string that is available to one or more processes on the system. Environment variable names are by convention upper case, though this is not required.

For exmple the PATH environment variable contains a ':' deleimited list of directories to search in order to find any particular command.

2) No. There can be any number of environment variables on a system

3) set | more
  #3 (permalink)  
Old 08-29-2005
sekar sundaram sekar sundaram is offline
Registered User
  
 

Join Date: Jul 2005
Location: banagalore
Posts: 44
thanks Unbeliever,



i got it with set | more
and one more question:

2nd line of the set | more is: EDITOR=vi

1). it means the default editor is vi editor. correct?
2). can i assign a new editor to this environment variable?
  #4 (permalink)  
Old 08-30-2005
adurga adurga is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 19
1) yes.
2) you can give a try by resetting it to alternate editor.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0