Linux清理会话命令history

  • A+
所属分类:计算机

清理当前会话history:history -c
清理所有会话history:cat /dev/null >.bash_history

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: