#!/bin/bash # monitor changes in dmesg (actually dmesg.log)on stdout watch "cat dmesg.log | tail -20"