Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

RE: find 2 days ago date in Solaris

Reidy, Ron

2006-05-08


Date math-ish things in the shell in the shell (I am using bash):

 

$ date –d “-2 day”

 

Check the man page for find to see how to find files with a ctime less than 2 days.

 

--

Ron Reidy

Lead DBA

Array BioPharma, Inc.

 


From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of vikram singh
Sent: Monday, May 08, 2006 11:08 AM
To: oracle-l@freelists.org
Subject: find 2 days ago date in Solaris

 

Hello all,

    how can i find 2 days ago date in Solaris?

 

   I want to find all the trace files that were generated two days ago, and only two days ago. not 'in the last two days', but files generated only two days ago. Can anyone help me out?

 

     i am using SunOS 5.8.

 

Any help is thankful.

 

 


This electronic message transmission is a PRIVATE communication which contains information
which may be confidential or privileged. The information is intended to be for the use of the individual
or entity named above. If you are not the intended recipient, please be aware that any disclosure,
copying, distribution or use of the contents of this information is prohibited. Please notify the sender
of the delivery error by replying to this message, or notify us by telephone (877-633-2436, ext. 0),
and then delete it from your system.

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.