# vi ~/.mysql_history 

 

show tables;
show databases;

 清空里面的内容,并不用退出当前shell,就可以清除历史命令!!

相关文章:

  • 2021-06-05
  • 2022-01-28
  • 2021-12-23
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-30
  • 2022-02-09
  • 2022-12-23
  • 2021-10-27
  • 2021-08-09
  • 2022-12-23
相关资源
相似解决方案