tail
Standard tail functionality
Standard tail functionality
tail -f file1
tail -f file1 -f file2 # Available in later versions only
Multi-Tail
Multi-Tail
./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
# 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
multitail
This provides a neat GUI output
multitail file1 file2
To install...apt install multitail
UNIX vs Windows
UNIX vs Windows
Bibliography
Bibliography