The Simple Man's shell scripts
Monday, December 10, 2007
Datestamp and serial number incremented log file
LogFile="/tmp/logfile.$(date +%y%m%d)$(ls -l /tmp/logfile.$(date +%y%m%d)* 2>/dev/null | wc -l | sed 's/ //g').log"
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2007
(3)
▼
December
(3)
Datestamp and serial number incremented log file
Using a variable as awk's print field specifier
Search for skus
About Me
John
View my complete profile
No comments:
Post a Comment