Hi all,
I want to set a variable in ksh shell \(prompt\) and echo the value.
$ set x=5
$echo $x
But it is returning null. Can any one please help.
Thanks in advance
Hi all,
I want to set a variable in ksh shell \(prompt\) and echo the value.
$ set x=5
$echo $x
But it is returning null. Can any one please help.
Thanks in advance
Just do:
x=5
echo $x
should work fine