close

history
說明:檢視命令列輸入的命列清單紀錄結果

範例
 history

重複與搜尋
 !n n 表示執行 history 程式輸出的編號
 !cmd 表示執行最近 以 cmd 開頭 的命令項目
 Ctrl-R 往前找尋找 history 命令

[sean@localhost ~]$ cat -n .bash_history

命令的記錄檔在 /home/ .bash_history

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 sean 的頭像
    sean

    My Source Code

    sean 發表在 痞客邦 留言(0) 人氣()