1# see "man logrotate" for details 2# rotate dmesg, and keep 5 versions. 3 4/var/log/dmesg { 5 create 6 rotate 5 7 nodateext 8} 9 10