添加环境变量信息
echo 'export HISTTIMEFORMAT="%F %T"' >>/etc/profile
source /etc/profile
history
![](https://img.haomeiwen.com/i26024052/0db8e1485a56abad.png)
添加环境变量信息
echo 'export HISTTIMEFORMAT="%F %T"' >>/etc/profile
source /etc/profile
history
本文标题:history命令的显示带时间
本文链接:https://www.haomeiwen.com/subject/teluirtx.html
网友评论