history命令

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

相关文章:

  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2021-12-30
  • 2021-05-25
  • 2022-12-23
  • 2021-12-12
  • 2022-03-02
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-07-31
  • 2021-11-04
相关资源
相似解决方案