LinuxCommandLibrary

multitail

Extension of tail.

TLDR

Tail all files matching a pattern in a single stream

$ multitail -Q 1 '[pattern]'
copy


Tail all files in a directory in a single stream
$ multitail -Q 1 '[path/to/directory]/*'
copy


Automatically add new files to a window
$ multitail -Q [pattern]
copy


Show 5 logfiles while merging 2 and put them in 2 columns with only one in the left column
$ multitail -s 2 -sn 1,3 [mergefile] -I [file1] [file2] [file3] [file4]
copy

Copied to clipboard