Saturday, 14 September 2013

Unix user created variables

Unix user created variables

I am going though some growing pains with Unix. My question:
I want to be able to print all my user defined variables in my shell. Let
say I do the following in the shell:
$x=9
$y="Help"
$z=-18
$R="My 4th variable"
How would I go about printing:
x y z R
Thanks

No comments:

Post a Comment