tail multiple log files
$ (while [ 1 ]; do (echo -n "one "; date; sleep 1); done) > one.txt & $ (while [ 1 ]; do (echo -n "two "; date; sleep 1); done) > two.txt & $ tail -f one.txt -f two.txt $ multitail one.txt two.txt
$ (while [ 1 ]; do (echo -n "one "; date; sleep 1); done) > one.txt & $ (while [ 1 ]; do (echo -n "two "; date; sleep 1); done) > two.txt & $ tail -f one.txt -f two.txt $ multitail one.txt two.txt