linux命令学习


  • 通过 history 命令查看当前shell客户端使用过的命令
  • linux命令学习-之history
  • 可以通過 history -c 來清楚當前的历史命令
  • linux命令学习-之history
    但是这样还是会有记录在系统文件里 /root/.bash_history 中
  • 也可以使用 cat /root/.bash_history 命令查看历史记录,然后通过 echo > /root/.bash_history来清除历史命令
  • *

相关文章:

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