How to tail many files at once

P

postcd

Guest
Hello,

a directory with around hundred log files and several subdirectories.

I would like to tail or even better tail -f all these files at once.

What is the simplest way please? Im not good in making bash scripts. thx
 


For example something like this:
Code:
find /directory_path/ -type f -printf '=============\n%f\n=============\n' -exec tail {} \;
Or, if you need to scroll:
Code:
find /directory_path/ -type f -printf '=============\n%f\n=============\n' -exec tail {} \; | less
 

Members online


Top