I've script which is connecting to remote host via SSH, creates temporary file and executing the following command:
Calling system(mysql --database=information_schema --host=localhost < /tmp/drush_1JAjtt)
Each time it's creating different file (pattern:
I've tried couple of times manually running on the remote:
tail -f /tmp/drush_*
but my connection is too slow and most of the time I've end up with the error:
tail: cannot open `/tmp/drush_*' for reading: No such file or directory
Is there any trick accessing such file straight after it's being created to show it's content?