CentOS7上使用history刪除部分歷史記錄

因爲誤操做誤登陸了別人的服務器,作了一系列操做後,忽然發覺不對,趕忙銷燬現場。 使用history命令刪除本次登陸後作過的歷史記錄,可是保留原始的記錄。 首先使用help history,命令查看幫助文檔:linux [root@10 ~]# help history history: history [-c] [-d 偏移量] [n] 或 history -anrw [文件名] 或 histor
相關文章
相關標籤/搜索