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. :D
You can run
I recommend to read this guide to learn shell scripting: http://tldp.org/LDP/abs/html/ - it's one of the best guides out there. :)
|All times are GMT +2. The time now is 07:42.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.