output redirect to a file
DOAFeb 24 2010 — edited Feb 25 2010Hi all,
I am trying to write a shell script, from the script I connect with sql and execute some command.
I also define a file within the script who stores the output from the script, now the problem is what ever the sql statement I run through that script is not storing to that file, only the OS level commond output is storing to that file.
please suggest.