Bash: Watching selected log file.

Reference:¬†http://askubuntu.com/questions/1705/how-can-i-create-a-select-menu-in-a-shell-script There is an answer inside which actually works for my situation. Previous bash script which was not working #!/bin/bash LIST="syslog dmesg kern boot dpkg mintsystem Exit" PS3='Choose a log file to follow: ' select var in $LIST do if [ "$LIST" = "syslog" ] then watch tail /var/log/syslog elif [ "$LIST" = "dmesg" ] … Continue reading Bash: Watching selected log file.