linux command line bash shortcut

ctrl + w : delete a word backwards
alt + d : delete a word forwards
ctrl + a : move to the beginning
ctrl + e : move to the ending
alt + f : move forward one word
alt + b : move backward one word
ctrl + u : delete the current line from the cursor left (ctrl + y to paste the deleted text)
ctrl + k : delete the current line from the cursor right
ctrl + l : clear the screen
alt + r: Revert any changes to a command you’ve pulled from your history if you’ve edited it.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章