配置linux profile的history相关变量
来源:互联网 发布:软件需求分析师 编辑:程序博客网 时间:2024/06/08 09:50
vim /etc/profile
追加以下配置
# add by yyzc auditexport HISTFILE=$HOME/.bash_historyexport HISTSIZE=1200export HISTFILESIZE=1200export HISTCONTROL=ignoredupsexport HISTTIMEFORMAT="'whoami' %F %T "# "root 2014-12-26 15:42:03 free -m"export PROMPT_COMMAND="history -a; history -c; history -r;"'/home/test/yyzcaudit/YYZCaudit_agent.py'shopt -s histappendtypeset -r PROMPT_COMMANDtypeset -r HISTTIMEFORMAT
0 0
- 配置linux profile的history相关变量
- 设置linux系统history相关变量,命令时间、保存history条数,多session共享history
- Linux系统设置 history 相关系统变量(包括显示时间、history条数)
- linux /etc/profile相关
- mysql 配置相关的变量
- linux中history命令显示操作执行的时间配置
- linux中history命令显示操作执行的时间配置
- linux 的history命令
- linux的history知识点
- mysql的相关系统变量配置
- linux中profile对常用的软件的路径配置
- EBS profile 相关的表
- linux profile 配置立即生效
- Linux环境变量配置的三个方法--/etc/profile,~/.bashrc,shell
- linux中环境变量配置bashrc与profile的区别
- Spring boot项目maven的profile多环境配置不自动替换变量的问题解决
- history相关的命令与快捷键
- Linux的相关简单配置
- HDFS配置Kerberos认证
- 解决error while loading shared libraries: libXxf86vm.so.1:
- 多线程实现资源共享的问题学习与总结
- Unity之EditorGUILayout-一
- 读取二维ArrayList中的元素
- 配置linux profile的history相关变量
- mongodb 修改字段
- Nginx 常见应用技术指南(Nginx Tips)
- 生产者消费者问题理解与Java实现
- VIM用指定编码保存文件
- java jdbc 连接 mysql 数据库, mysql 实现 查询 指定行
- AC dreamoj 1011 树状数组+hash维护字符串的前缀和
- AABB和OBB包围盒简介
- LeetCode:Best Time to Buy and Sell Stock