the following appears to be failing. i hope someone can tell me why..
so i'm trying to create a file with the current date as the prefix in the following way (following instructions from a tutorial):
touch 'date +%F'.log
its creating the file as:
instead of 2011-07-31.log
i also tried the following:
var='expr 1 + 2'
now i thought it should display the result as 3 but instead its printing the string:
expr 1 + 2
what am i getting wrong/missing/failing to understand?