更新時間: 2013/04/05
Other:
Ctrl + l 把 terminal 上過去的內容清空
Ctrl + r 在 history 找回以前用過的指令再用多次 *刪除:*
Ctrl + g 離開 Ctrl + r
ctrl + i 與 tab 一樣
!! Repeat last command
!* All arguments of previous command
!$ (ALT + .) Last argument of previous command
刪除:
ctrl-u 刪除光標前的所有字符
ctrl+k 刪除光標後的所有字符
ctrl+w 刪除前一個單詞 *移動:*
Move:
ctrl-a ctrl-e # Home End
alt-f alt-b # word (要左邊的 Alt 鍵才有效)
Ctrl + p
Ctrl + f Ctrl + b
Ctrl + n
Process:
ctrl-c kills the current command or process.
ctrl-d kills the shell.
ctrl-z 把當前執行中的指令停下來, 之後放到 backgroud job
Output control(flow):
Ctrl + s
Ctrl + q