history显示时间、IP、用户
来源:互联网 发布:要怎么加盟农村淘宝 编辑:程序博客网 时间:2024/06/06 09:42
# vim /etc/bashrc
USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'`
HISTFILESIZE=4000
HISTSIZE=4000
HISTTIMEFORMAT="%F %T ${USER_IP} `whoami` "
export HISTTIMEFORMAT
# source /etc/bashrc
USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'`
HISTFILESIZE=4000
HISTSIZE=4000
HISTTIMEFORMAT="%F %T ${USER_IP} `whoami` "
export HISTTIMEFORMAT
# source /etc/bashrc
0 0
- history显示时间、IP、用户
- ubuntu History命令显示操作时间、用户和登录IP
- Linux history时间用户ip设置
- Linux history时间用户ip设置
- linux history 记录 时间 ip 登录用户
- history添加具体用户-IP-操作时间
- Linux 配置 history 命令显示操作时间、用户和登录 IP
- history命令行详细显示(包括时间,用户)
- [Linux] Linux/Mac OS history命令 添加时间,用户,ip
- centos history显示命令执行时间、执行用户,执行IP
- Linux 给History命令加上时间和IP显示
- history 显示时间戳
- history显示时间格式
- history 显示时间
- CentOS - history 显示时间
- 让history显示时间
- Linux history显示时间
- linux的history命令显示操作用户、显示操作时间、命令
- 筛选法求素数
- C#基础精华02(静态类,值类型,引用类型,枚举,结构,ref与out)
- Linux系统安装GCC软件的依赖关系
- 文字识别转换
- 从 SVN 迁移至 Gitlab + Gitflow 总结
- history显示时间、IP、用户
- Gartner 如何看 RASP 和 WAF?
- 11.使用NSUserDefaults存储存储
- iOS 学习日志 : iOS原生二维码的扫描以及限定扫描范围
- [ASP.NET教程] C#中如何实现数据拖动?(拖动图片,到TextBox,并显示)
- Learning Ceph
- Unity游戏开发使用Assetbundle加载场景实战
- 编辑文章 - 博客频道 - CSDN.NET
- Ext.js表单—Vbox布局(46)