1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/common/multitail.md
2022-12-04 19:12:49 +10:00

522 B

multitail

Extension of tail. More information: https://manned.org/multitail.

  • Tail all files matching a pattern in a single stream:

multitail -Q 1 '{{pattern}}'

  • Tail all files in a directory in a single stream:

multitail -Q 1 '{{path/to/directory}}/*'

  • Automatically add new files to a window:

multitail -Q {{pattern}}

  • 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}}