The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-24-2007
ammu ammu is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 79
set variable command

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