Prev Previous Post   Next Post Next
  #1  
Old 31st December 2008, 11: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
 

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation on RHEL 5 robd Tips/Tricks/Mods 3 6th March 2009 23:24
Running customised firewall script -RHEL 4 sud.tech Technical 0 12th June 2008 15:17
RHEL 5 and Xen compatibility dmpatra Installation/Configuration 8 29th July 2007 13:40
Installing MySQL, Apache, and PHP in a chroot environment fishfreak Suggest HOWTO 2 23rd January 2007 23:21
RHEL 4 Howto g8rbait Suggest HOWTO 12 29th December 2005 21:36


All times are GMT +2. The time now is 12:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.