查看用戶登錄日志命令 $ who /var/log/wtmp 查看用戶都執(zhí)行了哪些命令 // 切換到用戶 $ su - username // 查看最近的1000條歷史命令 $ history