Запись консоли

apt-get install bsdutils

or

yum install util-linux-ng

script /var/log

exit