export HISTTIMEFORMAT='%F %T'
浙江网站建设公司成都创新互联公司,浙江网站设计制作,有大型网站制作公司丰富经验。已为浙江上千多家提供企业网站建设服务。企业网站搭建\成都外贸网站制作要多少钱,请找那个售后服务好的浙江做网站的公司定做!
source /etc/profile
[root@localhost network-scripts]# history
1 2019-12-06 13:57:01 free -m
2 2019-12-06 13:57:32 cat /proc/cpuinfo
3 2019-12-06 13:57:39 top
4 2019-12-06 13:58:19 ll
5 2019-12-06 13:58:27 cd /etc/sysconfig/network-scripts/
6 2019-12-06 13:58:27 ls
7 2019-12-06 13:58:28 ll
8 2019-12-06 13:58:41 ip addr
9 2019-12-06 13:58:46 vim ifcfg-em1
10 2019-12-06 13:58:51 yum install vim -y
11 2019-12-06 14:01:23 history
12 2019-12-06 14:04:15 vim /etc/profile
13 2019-12-06 14:04:48 source /etc/profile
14 2019-12-06 14:04:50 history
15 2019-12-06 14:05:13 vim /etc/profile
16 2019-12-06 14:05:22 source /etc/profile
17 2019-12-06 14:05:23 history
[root@localhost network-scripts]#
# 命令的间隔可以在定义环境变量时自已调整
文章名称:CentosHistory命令历史记录添加执行时间
当前链接:https://www.cdcxhl.com/article4/gjgooe.html
成都网站建设公司_创新互联,为您提供企业建站、外贸建站、域名注册、电子商务、品牌网站设计、网页设计公司
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联