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?
{ 0 comments }
I want to increment the date under UNIX or Linux operating system while writing shell scripts. For example Apr/27/2011 should be incremented as Apr/28/2011 and so on. How do I increment a date in UNIX or Linux shell?
{ 2 comments }
How do I get the current date in Unix or Linux shell scripting and store it into a shell variable? How do I print the current date using Unix shell script?
{ 0 comments }
How do I write an infinite loop in Bash script under Linux or UNIX like operating systems?
{ 3 comments }