Yeah, more like this, if this is the proper way:
Code:
[oracle@mortonlx methodr]$ echo "/home/oracle/admin/MORTOND/udump/"$(ls -tr /home/oracle/admin/MORTOND/udump/ | tail -1)
/home/oracle/admin/MORTOND/udump/mortond_ora_12047.trc
[oracle@mortonlx methodr]$
I just thought on the command
Code:
[oracle@mortonlx methodr]$ ls -tr /home/oracle/admin/MORTOND/udump/ | tail -1
mortond_ora_12047.trc
[oracle@mortonlx methodr]$
that there would be something like a:
Code:
[oracle@mortonlx methodr]$ reversebasename $(ls -tr /home/oracle/admin/MORTOND/udump/ | tail -1)
On the "find" command, I thought the -mmin would be any file that was modified within "n minutes", so like on the files above, a file that was modified/created within the last 40mins. Is that wrong?
Thanks again for the reply.