Ok, I understand the script and provided the following result ...
Yeseterday was: 6 12 2001 .
But how does one convert the month (12) into either the long or short name(ie - December/Dec).
I need to do this as Directories are named ... (eg - Nov2001, Dec2001, etc.). I'm trying to create a reporting script to run via cron on the 1st of every month perusing the pervious months sar files for system reports. The scripts purpose is to be run from cron and the command line if required (for reruns for eg.).
Any help appreciated - have already done a search.
Such is the life of a newbie.