[NTLUG:Discuss] Writing to /var/log/messages ?
David Simmons, PE
dsimmons at powersmiths.com
Tue Jan 11 16:15:29 CST 2005
I'm creating a simple script to erase a recent rash of Microsoft's
errors to 'clean up after itself' with the following and want to:
find/erase commands | wc -l > echo " to log file "
to /var/log/messages.....is there some 'command' type way or just do a:
find/erase commands | wc -l >> /var/log/messages
?? Thanks...here's the 'real' command/script if needed:
find / -name "~*.tmp" -print -exec rm "{}" \;
dave
More information about the Discuss
mailing list