shell script ---- how to
Posted on 2004-10-07
I have a command that i need to put in a shell script and then run a cron job with it.
Have a problem with one command.
grep 'multiple LDAP matches' PopProxy_20041007.log
this log file creates a new log file each day but has new name with new date.
day one: PopProxy_20041007.log then
next day: PopProxy_20041008.log
how can i make this command grep 'multiple LDAP matches' PopProxy_20041007.log
to pick up the file that i need it to grep from?