linux命令之history

history命令主要用來記錄,顯示命令的執行歷史,並能夠藉此便捷快速操做。bash history n  顯示最近n條執行的命令接口 history -c 消除全部history內容記錄file history -w 將目前的history記憶內容寫入histfilescommand history -r 將文件中的內容讀出到history記憶中。文件 $HISTSIZE  文件記錄命令容量hi
相關文章
相關標籤/搜索