I have a script, i want to know is it possible to put date command in varable
example
file=${title}:date
here how the date command should be put so that it will work?
I have a script, i want to know is it possible to put date command in varable
example
file=${title}:date
here how the date command should be put so that it will work?
Do you want to put the output of the date command in variable?
yes
Use like this.
file=${title}:`date`
echo $file
likke ?
Ooops sorry I was editing my answers there. Now check it.