工作中,需要清理history history -c echo > .bash_history 转载于:https://www.cnblogs.com/charles7987/p/10873610.html