Home » Infrastructure » Unix » HOST command (Sun solaris, Oracle 11.2.0.2)
HOST command [message #602373] Tue, 03 December 2013 12:52 Go to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
Can the below command be correct?

host 'find ${LOGDIR}/rman_backup_*.log -mtime +7 -exec rm {} \;'

Re: HOST command [message #602374 is a reply to message #602373] Tue, 03 December 2013 12:59 Go to previous messageGo to next message
BlackSwan
Messages: 22790
Registered: January 2009
Senior Member
lg123 wrote on Tue, 03 December 2013 10:52
Can the below command be correct?

host 'find ${LOGDIR}/rman_backup_*.log -mtime +7 -exec rm {} \;'



It is not correct if you are running on Windows.

It is not correct if you want to know what time it is.

It might be correct, depending upon what you hope to accomplish.
Re: HOST command [message #602376 is a reply to message #602373] Tue, 03 December 2013 13:51 Go to previous message
Michel Cadot
Messages: 59141
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

It is just a way to post a non-Oracle related question to avoid your topic to be locked as your many other ones, isn't it?
Why don't you search a Unix forum for your Unix questions instead of trying to force them in this forum?

[Updated on: Tue, 03 December 2013 13:52]

Report message to a moderator

Previous Topic: How to change the multiple file names in unix
Next Topic: AIX Scripts with SQLPLUS Commands
Goto Forum:
  


Current Time: Fri Sep 19 00:58:43 CDT 2014

Total time taken to generate the page: 0.09665 seconds