Linux keyboabd short cut - History and copy-pest commmand

History command 

#CTRL-P --- Move to the previous history entry. Same action as the up arrow.

#CTRL-N --- Move to the next history entry. Same action as the down arrow.

#ALT-< --- Move to the beginning (top) of the history list.

#ALT-> --- Move to the end (bottom) of the history list; i.e., the current command line.

#CTRL-R --- Reverse incremental search. Searches incrementally from the current command line up the history list.

#ALT-P --- Reverse search, non-incremental. With this key, type the search  string and press ENTERbefore the search is performed.

#ALT-N --- Forward search, non-incremental.

#CTRL-O --- Execute the current item in the history list and advance to the next ne. This is handy if you are trying to re-execute a sequence of commands in the history list.




Cut and pest command 

#CTRL-K --- Kill text from the cursor location to the end of line.

#CTRL-U --- Kill text from the cursor location to the beginning of the line.

#ALT-D --- Kill text from the cursor location to the end of the current word.

#ALT-BACKSPACE ---- Kill text from the cursor location to the beginning of the current word. If the cursor is at the beginning of a word, kill the previous word.

#CTRL-Y --- Yank text from the kill-ring and insert it at the cursor location.

0 comments :

Post a Comment