User Tools

Site Tools


blog:lightning_fast_command_line_use_in_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blog:lightning_fast_command_line_use_in_linux [2009-08-13 21:47] – created brbblog:lightning_fast_command_line_use_in_linux [2009-08-13 21:51] (current) brb
Line 4: Line 4:
 Here are some other keyboard shortcuts you can use within terminal: Here are some other keyboard shortcuts you can use within terminal:
  
-Ctrl-a Move to the start of the line. +Ctrl-a  Move to the start of the line. | 
-Ctrl-e Move to the end of the line. +Ctrl-e  Move to the end of the line. | 
-Alt-] x Moves the cursor forward to the next occurrence of x. +Alt-] x  Moves the cursor forward to the next occurrence of x. | 
-Alt-Ctrl-] x Moves the cursor backwards to the previous occurrence of x. +Alt-Ctrl-] x  Moves the cursor backwards to the previous occurrence of x. | 
-Ctrl-u Delete from the cursor to the beginning of the line. +Ctrl-u  Delete from the cursor to the beginning of the line. | 
-Ctrl-k Delete from the cursor to the end of the line. +Ctrl-k  Delete from the cursor to the end of the line. | 
-Ctrl-w Delete from the cursor to the start of the word. +Ctrl-w  Delete from the cursor to the start of the word. | 
-Ctrl-y Pastes text from the clipboard. +Ctrl-y  Pastes text from the clipboard. | 
-Ctrl-l Clear the screen leaving the current line at the top of the screen. +Ctrl-l  Clear the screen leaving the current line at the top of the screen. | 
-Ctrl-x Ctrl-u Undo the last changes. Ctrl-_ +Ctrl-x Ctrl-u  Undo the last changes. Ctrl-_ | 
-Alt-r Undo all changes to the line. +Alt-r  Undo all changes to the line. | 
-Alt-Ctrl-e Expand command line. +Alt-Ctrl-e  Expand command line. | 
-Ctrl-r Incremental reverse search of history. +Ctrl-r  Incremental reverse search of history. | 
-Alt-p Non-incremental reverse search of history. +Alt-p  Non-incremental reverse search of history. | 
-!! Execute last command in history +| ''!!'' Execute last command in history | 
-!abc Execute last command in history beginning with abc +| ''!abc'' Execute last command in history beginning with abc | 
-!n Execute nth command in history +| ''!n'' Execute nth command in history | 
-^abc^xyz Replace first occurrence of abc with xyz in last command and execute it+| ''^abc^xyz'' Replace first occurrence of abc with xyz in last command and execute it 
  
  
blog/lightning_fast_command_line_use_in_linux.1250192875.txt.gz · Last modified: 2009-08-13 21:47 by brb