[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Need to know the time since the file generated.

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



0
ratna1234
Asked:
ratna1234
1 Solution
 
ratna1234Author Commented:
Thanks,
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now