List the directories. They were created at the same time.
ls -1rd 2012*/ | head -1
If the sort order of the directories always sorts correctly, you can sort the directories with reverse sort so the most recent is first
ls -dr | head -1
/etc/ isn't the right directory for storing data. These look like log files. The directory to use for log files us /var/log. /etc is for static configurations.
Last edited by jschiwal; 04-25-2012 at 08:32 PM.
|