Hi All,.
We are using AIX as the OS to host the Oracle ERP. We have a command FNDLOAD which is used to load setups. When this command is run, it outputs names of log files and any errors to the screen.
I am trying to redirect this output to a file because we have large number of these commands running from a script and would like to log them.
I can redirect normal echo commands to a file without a problem, but the output of this command is not getting redirected.
I tried >, >>, |, | tee till now. None of it works. Any solution?
My guess would be that it's writing on stderr and not stdout. If that's correct, then all of your redirection attempts have focused on the wrong stream.
I see that it is posting output to STDERR and i know how to redirect the whole programs output to a file. But then the echo commands from the shell script is also going off screen.
---------- Post updated at 11:57 AM ---------- Previous update was at 11:56 AM ----------