≡ Menu

dow

Linux / Unix Shell Scripting: Create Filename By Day Of The Week

I need to create a log file using the following format:

myapp_monday.log
myapp_tuesday.log
....
...
myapp_sunday.log

How do I create log filename with day of the week in it under Linux or Unix operating systems?
[click to continue…]