logrotate01 test basic functionality of logrotate. use logrotate -f to force rotation. 1. rotate /var/log/tst_logfile file. 2. compresses it.