How can I dynamically create a file that includes the date in the filename?
I am using the /var/adm/wtmp file to track all login sessions for the day. Using cron, I want the system to copy this wtmp file to a new file with the date (and time) in the filename.
Please advise.
I am using the /var/adm/wtmp file to track all login sessions for the day. Using cron, I want the system to copy this wtmp file to a new file with the date (and time) in the filename.
Please advise.