Wednesday, October 21, 2009

Some keyboard shortcuts in linux command line

Some are the same with emacs:

ctrl-a move to beginning/end of the line
ctrl-e  
ctrl-u cut from cursor to beginning/end
ctrl-k  
ctrl-w cut from cursor to beginning/end of word
ctrl-y yank
ctrl-] n move to next/previous character ‘n’
ctrl-alt-] n  
ctrl-x ctrl u undo last change
alt-r undo current line
ctrl-n next/previous command
ctrl-p  
ctrl-L clean screen
ctrl-r incremental/non- history search
alt-p  

No comments:

Post a Comment