Re: find 2 days ago date in Solaris

  • From: "vikram singh" <vikramsingh120@xxxxxxxxx>
  • To: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxxxxx>
  • Date: Mon, 8 May 2006 23:13:00 +0530

hello Bobak,
    i am reading the faq page, but i see only FreeBSD, and GNU discussed
much. Solaris is discussed only with reference to awk programs. however, i
havent read it completely. Thanks for the help.

vikram.


On 5/8/06, Bobak, Mark <Mark.Bobak@xxxxxxxxxxxxxxx> wrote:

That works on Linux, Ron, but not Solaris.

-Mark

PS See this: http://home.comcast.net/~j.p.h/cus-faq.html#6 for more
info....


*--* *Mark J. Bobak* *Senior Oracle Architect* *ProQuest Information & Learning*

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.  --Richard P. Feynman, 1918-1988


------------------------------ *From:* oracle-l-bounce@xxxxxxxxxxxxx [mailto: oracle-l-bounce@xxxxxxxxxxxxx] *On Behalf Of *Reidy, Ron *Sent:* Monday, May 08, 2006 1:28 PM *To:* vikramsingh120@xxxxxxxxx; oracle-l@xxxxxxxxxxxxx *Subject:* RE: find 2 days ago date in Solaris



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@xxxxxxxxxxxxx [mailto:
oracle-l-bounce@xxxxxxxxxxxxx] *On Behalf Of *vikram singh
*Sent:* Monday, May 08, 2006 11:08 AM
*To:* oracle-l@xxxxxxxxxxxxx
*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.


Other related posts: