![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| environment variables | radhika03 | Shell Programming and Scripting | 3 | 01-22-2007 10:58 AM |
| environment variables | sumsin | High Level Programming | 6 | 03-13-2006 08:17 AM |
| environment variables | spavlov | UNIX for Dummies Questions & Answers | 3 | 08-20-2003 06:49 AM |
| environment variables | Esaia | High Level Programming | 2 | 02-20-2003 05:19 PM |
| what is the use of Environment variables | indianguru | UNIX for Dummies Questions & Answers | 2 | 07-24-2001 06:41 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
1) yes.
2) you can give a try by resetting it to alternate editor. |
|||
| Google The UNIX and Linux Forums |