Linux基本命令23:history命令

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yuming226/article/details/83686293
history命令

history命令用于显示历史执行过的命令,格式为“history[-c]”。
执行history命令能显示出当前用户在本地计算机中执行过的最近1000条命令记录。如果觉得1000不够用,还可以自定义/etc/profile文件中的HISTSIZE变量值。使用-c参数则会清空所有的命令历史记录。
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/yuming226/article/details/83686293
今日推荐