Easy one for you gurus:
How can I get the file name of an redirected stdout from my executing script?
For example, I execute:
Code:
MyScript.ksh parm1 parm2 >/path/to/redirected_out.log
I need to know the name of the redirected file "/path/to/redirected_out.log" inside MyScript.ksh
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb