Skip to content

mapio/tmux-tail-f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

tmux tail -f

This tool allows to tail a set of files in a multi-pane tmux window.

$ tmux-tail-f -H
Usage: tmux-tail-f [OPTION]... [FILE]...
Tails the FILEs in a tmux window, one per pane; hitting `^C` in
any one of the panes will terminate all the tail commands and
kill the tmux session.  Uses the `-F` option instead of `-f`,
which keeps trying to open a file if it is inaccessible.

Optional arguments:
  -d     do not kill tmux session upon detach.
  -v     use the 'even-vertical' layout (default).
  -h     use the 'even-horizontal' layout.
  -t     use the 'tiled' layout.
  -H     print this help.
  -U     update this script to the latest version.

For example

tmux-tail-f -h /var/log/httpd/{access,error}_log

will show the Apache logs in a tmux window split in two panes.

This tool is heavily inspired by mtmux.

Analytics

About

A tool to tail multiple files using tmux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages