Originally Posted by ssuhaib
When I type set varaible=somevalue ; export varable and then when I say echo $variable then nothing displays. How to set the variable or I am I doing anything wrong here?
The OS is RedHat 4.0 and shel is bash.
Thanks in advance
Well, if your typing is as inconsistent as above (3 different spellings of variable) then it's probably no wonder. (sorry, couldn't resist!)
BTW, on bash, there's no need to separate the export. you can also do