mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 11:06:00 +02:00
multitail: add page (#3604)
This commit is contained in:
parent
2578372044
commit
2a613d6a39
1 changed files with 20 additions and 0 deletions
20
pages/common/multitail.md
Normal file
20
pages/common/multitail.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# multitail
|
||||
|
||||
> Extension of tail.
|
||||
> More information: <https://www.vanheusden.com/multitail/examples.php>.
|
||||
|
||||
- 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 '{{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}}`
|
Loading…
Add table
Reference in a new issue