export HISTTIMEFORMAT='[%F %T]: '
export PROMPT_COMMAND='{ msg=$(history 1 | { read x y; echo $y; });logger -t audit "[euid=$(whoami)]":$(who am i):[$(pwd)]:"$msg";}'
alias crontab-l='cat /var/spool/cron/tabs/root /etc/cron.d/*.conf'
在 /var/log/messages 就可以看到你是操作记录了