Gary Sieling

Tail the output of multiple files

The “tail” command lets you see the end of a log file, and “tail -f” lets you see the output to the file as it comes.

What’s really neat is you can give this multiple file names, and you’ll get the output of all of them mixed (e.g. you might want to see both error and access logs).

tail -f /var/log/ssl-search-*

In the above, the “*” expands this argument into all noted files.

Exit mobile version