Searching the files for the word 'SHUTDOWN' can be done with a single command:

grep -i shutdown ora*.aud

(-i means ignore case)

or, just to get the filenames

grep -l -i shutdown ora*.aud

Also, the ls -l command will give the list of files, including the modification date, if you pipe the output of the ls to the grep command (look at the format of the date returned), you can quickly get a list of files for a certain date.

e.g.

ls -l ora*.aud | grep "Mar 08"

to list all files for the specified date.

HTH

David.

[Edited by Dave_A on 03-08-2001 at 08:25 AM]