Dear all Salam, This is for all LOGFILE=/var/log/syslog FILE="$LOGFILE.`date +%F.%H:%M:%S`.log" it will store the log in date+time format Regards, Umair Shakil ETD -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071019/cbdd00b3/attachment-0004.html>