希望退出时启动的程序 .bash_logout 把退出时希望启动的程序放到.bash_logout里 可以用于删除历史等 转载于:https://www.cnblogs.com/liang-1/p/8856988.html