wiki:linux/Tools/watch

cut, find, ps, rev, tail, watch


watch manpage


watch last 5 lines of dmesg output

$ watch -n 1 "dmesg | tail -n 5"

Note: This is only needed for a dmesg version which do not support the -w feature (< kernel 3.5.0).

Last modified 3 years ago Last modified on Mar 18, 2016, 5:45:41 AM