tail - follow two to n files at once

By: Johnathon Wright on: January 27, 2010

I often use tail -f filename.txt ... then recently I realized I was switching back and forth between test.log and development.log, and that only one was being used at a time -- could I follow both at the same time?

Turns out you can, and really easily.

tail -f file1.txt file2.txt

or even

tail -f log/*.log

useful and easy. eureka!



Back