修改shell命令的history記錄個數

修改history記錄的命令以下所示: # vi /etc/profilehtml 找到histsize=1000,將其改成histsize=100(這條可根據實際狀況而定)。post 不重啓系統就可以讓其生效,以下所示: source /etc/profilehtm 轉載於:https://www.cnblogs.com/liu1026/p/8126549.htmlblog
相關文章
相關標籤/搜索