close
history
說明:檢視命令列輸入的命列清單紀錄結果
範例
history
重複與搜尋
!n n 表示執行 history 程式輸出的編號
!cmd 表示執行最近 以 cmd 開頭 的命令項目
Ctrl-R 往前找尋找 history 命令
[sean@localhost ~]$ cat -n .bash_history
命令的記錄檔在 /home/ .bash_history
全站熱搜
history
說明:檢視命令列輸入的命列清單紀錄結果
範例
history
重複與搜尋
!n n 表示執行 history 程式輸出的編號
!cmd 表示執行最近 以 cmd 開頭 的命令項目
Ctrl-R 往前找尋找 history 命令
[sean@localhost ~]$ cat -n .bash_history
命令的記錄檔在 /home/ .bash_history