Debian9如何关闭当前历史命令记录
发布时间:2023-9-8 11:27:47 来源: 纵横云
Debian9如何关闭当前历史命令记录
1.只针对当下执行的命令行关闭历史记录,set +o history
执行命令后,之后执行的命令都不会被记录到history

2.恢复历史记录,set -o history
本文来源:
https://www.zonghengcloud.com/article/12298.html
[复制链接]
链接已复制