tail

Standard tail functionality

tail -f file1

tail -f file1 -f file2      # Available in later versions only

Multi-Tail

This section gives several ways of tailing multiple files at the same time. Don't forget you that you could just start multiple tail commands using multiple terminal windows, multiple putty windows, or multiple panes in terminator or tmux.

./multi-tail.sh file1 file2

#!/bin/sh
# When this exits, exit all back ground process also.trap 'kill $(jobs -p)' EXIT
# iterate through the each given file names,for file in "$@"do  # show tails of each in background.  tail -f $file &done
# wait .. until CTRL+Cwait

multitail

This provides a neat GUI output

multitail file1 file2

To install...apt install multitail

UNIX vs Windows

UNIX-Windows-Cribsheet

Bibliography