Skip to content
A tool to tail multiple files using tmux
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md Add `-d` flag for allowing tmux-tail-f persist on session detach Jul 17, 2017
tmux-tail-f Add `-d` flag for allowing tmux-tail-f persist on session detach Jul 17, 2017

README.md

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

You can’t perform that action at this time.