Need to know the time since the file generated.

Posted on 2011-10-15
Last Modified: 2012-05-12
I have a file  

[oracle@bbk~]$ date
Sat Oct 15 23:57:35 EDT 2011

[oracle@bbk ~]$ ls -lrt /apps3/global/arch/ora_1_26952_693199016.dbf
-rw-r----- 1 oracle oinstall 529857024 Oct 15 15:39   /global/arch/ora_1_26952_693199016.dbf

I need to know that the file is about 9 hrs old. teh result can be wirtten in a flat file > alert.txt

Question by:ratna1234
    LVL 19

    Accepted Solution


    Author Closing Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
    Recently, an awarded photographer, Selina De Maeyer (, completed a photo shoot of a beautiful event ( in An…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now