Tag Archives: Shell Script

Linux Shell Date Format for Log File Names

Linux shell users need a quick way to include the date and time in log file names. Ideally the format should not include any space or colon characters. A format that I like to use is YYYY-MM-DD_HHMMSS and if the … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment

Command Line Email in Cygwin

Cygwin provides a Linux-like environment on Windows, but unfortunately the heirloom mailx (aka nail) email utility is not included as a supported package. I previously recommended mailx for quick command-line email in Linux. For Cygwin users, a similar utility is … Continue reading

Posted in System Administration | Tagged , , , , , | 14 Comments