I have the function:
function >> file.txt
this creates the file.txt in my current directory. I have a folder log in the same directory, how would I request file.txt to be created in my log file (a directory higher)? I tried:
function >> log/file.txt
and am unsure why this didn't work for me
set -xto the start of the script to debug it. – geirha Jul 23 '12 at 15:42