I want to output the contents of a number of rotating log files, let’s say file.log.1
and file.log
to stdout for continued processing.
For a single log file I could have used tail -F file.log
, but since I want to include the contents of the old log file as well: Is there a good way to do this without a temporary file?