[Linux] Linux/Mac OS history命令 添加时间,用户,ip
2017-12-14 22:13
627 查看
history命令可以查看指令的历史记录。history可以加上参数,比如时间、用户和IP等等。
执行source生效:
echo 'export HISTTIMEFORMAT="%F %T `whoami` "' >> /etc/profile
执行source生效:
source /etc/profile
相关文章推荐
- Linux 配置 history 命令显示操作时间、用户和登录 IP
- Linux:history命令记录操作时间、操作用户、操作IP
- Linux下查看用户登陆后的操作记录及history命令显示时间
- Linux命令——history查看用户操作记录及时间
- Linux下查看用户登陆后的操作记录及history命令显示时间
- Linux下历史命令(history)添加时间戳
- Linux——给history命令加上用户和时间
- linux 命令执行历史记录history显示执行时间和用户
- linux给history命令添加时间
- Linux下查看用户登陆后的操作记录及history命令显示时间
- Linux 给History命令加上时间和IP显示
- 让history命令显示出执行用户、执行时间、执行用户IP
- Linux下查看用户登陆后的操作记录及history命令显示时间
- linux的history命令显示操作用户、显示操作时间、命令
- Linux下查看用户登陆后的操作记录及history命令显示时间
- linux在history上加上命令执行时间,用户和IP源等
- LINUX用户登录后精确命令记录(history 按时间、用户显示命令记录)
- history添加具体用户-IP-操作时间
- history and its relevant variables in Linux/GNU and Mac OS history命令以及相关环境变量
- history命令中添加时间