You need to start with little steps.
Try
Quote:
date
DATA_SPACE=`date`
echo $DATA_SPACE
second example:
ls
LIST=`ls`
echo $LIST
|
Note that on line 2 the command date is enclosed by the "backtick" character. This character and the 'tilde', '~' character usually occupy the upper left key on the typewriter portion of the keyboard.
It is also important not to put spaces before and after the equal sign.
When you are writing a script, you can test each command that is in the script at the command prompt until you get the correct syntax.
google "ksh tutorial" for guidance.