Logging executed commands

commandlog new <filename>

starts a new commandlog writing to file <filename> (file stored in /home/SANS/log).

commandlog

displays status of commandlog.

commandlog close

closes the command log.

commandlog auto

switches the automatic log on.

commandlog tail <n>

prints the last <n> lines of the log file.