Hi,
I was wondering if anybody knew the correct syntax to grep a log file such as;
[06/Aug/2002:07:34:56-61-2] Process Error
for todays day & time? If anybody knows this a sample syntax I have is
export DATE=`date +%b%d%Y`
grep $DATE file.log
it would be appreciated.
Thanks.
I was wondering if anybody knew the correct syntax to grep a log file such as;
[06/Aug/2002:07:34:56-61-2] Process Error
for todays day & time? If anybody knows this a sample syntax I have is
export DATE=`date +%b%d%Y`
grep $DATE file.log
it would be appreciated.
Thanks.