如何使linux系统下的root用户不保存终端历史记录到.bash_history中

———————————————— 1)history -c  //是把Linux下的/root/.bash_history  全给清了,实现不保存,做为黑客是不地道的。 再从其余终端倒腾回去: history |awk -F" "  '{if(NR>0){$1="";print $0}}'|grep -v "multepollserver" > /root/.bash_history 2)不留痕迹
相关文章
相关标签/搜索