Hi All,
I have a script in which i want to store my file name in a variable named "FILE", below is the approach i am using :
mydate=`date +%d%m%Y`
DATE=`date +%Y-%m-%d`
FILE=`"FOS_TSM_ZBH_TER_$mydate.csv"`
echo "$FILE"
echo "$mydate"
on executing the above script, i am getting :
b.sh: line 3: FOS_TSM_ZBH_TER_04092014.csv: command not found
Why am i getting "command not found" when i am not really executing a command, just trying to store name i a variable.