View Single Post
  #1  
Old 31st December 2008, 12:47
g00ner g00ner is offline
Junior Member
 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post RHEL 5 environment variables

Hi everyone new to the forum and to linux.

I am a windoze admin by birth and need a little help figuring out how to do something in RHEL5.

I have a windows batch file that checks to see what a particular environment variable is and then if it is A it goes and does something and if it is B it goes and does something slighlty different.

How would l do this in RHEL5?

How do l get a list of environment variables? In Windows l would go to the command prompt and type set

How do l set an environement variable?

Thanks in advance.
Reply With Quote
Sponsored Links