Shell中Bash的基本功能(二)

1 歷史命令 1)歷史命令的查看 [[email protected] ~]# history [選項] [歷史命令保存文件] 選項: -c: 清空歷史命令 -w: 把緩存中的歷史命令寫入歷史命令保存文件。如果不手工指定歷史命令保存文 件,則放入默認歷史命令保存文件~/.bash_history 中 [[email protected] ~]# history 1 systemctl s
相關文章
相關標籤/搜索