In my current project all our logs are mounted onto a Linux machine for easy access and they are numbered systematically like server 1 to 6 with side A and side B. We have a daily append-er for our application logs, so at any given time we will have file’s with same name’s on all the servers. For Ex.
Some interesting things can be done with this kind of setup. To start off, to list all the files of a particular day one can use Square Bracket Wild cards.
ls -all /opt/logs/das[1-6]_[AB]/log.2010-03-15.log ls -all /opt/logs/das_[AB]/log.2010-03-15.log