If I start an app with this command:
/path/to/my/command >> /var/log/command.log
And the command doesn't return, is there a way, from another prompt, to see what the STDOUT redirect is set to?
I'm looking for something like either
ps -??? | grep PID
but any method will do.