# 1,登录文件
vi /etc/profile
# 2,添加
export HISTSIZE=0
# 3,使生效
source /etc/profile
linux服务器记录当前会话输入过的命令行
最新推荐文章于 2024-07-09 01:53:42 发布
# 1,登录文件
vi /etc/profile
# 2,添加
export HISTSIZE=0
# 3,使生效
source /etc/profile