The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-15-2005
mmarsh mmarsh is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 6
Script to check for a file, check for 2hrs. then quit

I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.

Logically, I'm looking for the best way to approach this

Thanks for any assistance in advance.

Note: I'm using a C shell and have a little exp with awk,sed and grep.