I want to create a filename for redirecting output to.
eg:
ls -lash > $filename
All the variables are set.. So far I've tried the following:
filename=`echo $site . "_location_" . $address . "_" . $timestamp . ".txt"`
filename=$site . "_location_" . $address . "_" . $timestamp . ".txt"
filename="$site_location_$address_$timestamp.txt"
None have worked.. How do I get a file named like:
site1_location_northeast_071218142325.txt
Thanks