|
How To -
Cheat Sheets
|
|
Written by Christian Foronda
|
|
Tuesday, 01 February 2011 17:55 |
| Shortcut |
Description |
| Tab: |
Autocomplete a line of text. |
| Up/Down Arrows: |
Move through your last used commands. |
| Ctrl+Left and Ctrl+Right: |
Jumps between arguments in your command. So, if you had a typo in the middle of the command, you could jump to it quickly with Ctrl and a few taps of the left arrow key. |
| Home and End: |
Move your cursor to the beginning and the end of the currently typed command. |
| Ctrl+A and Ctrl+E: |
Same function of Home and End. |
| Ctrl+P and Ctrl+N: |
Same function of Up/Down Arrows. |
| Ctrl+U: |
Clears the entire line so you can type in a completely new command. |
| Ctrl+K: |
Deletes the line from the position of the cursor to the end of the line. |
| Ctrl+W: |
Deletes the word before the cursor only. |
| Ctrl+R: |
Lets you search your command history for something specific. For example, if you wanted to search for the recent commands that included nano, you would hit Ctrl+R and type nano. It would show your most recent command, and you could use the up and down arrows to cycle through your history of commands using nano in them. |
| Ctrl+L: |
Clears all previously executed commands and their output from the current terminal. |
| Ctrl+C: |
Kill the current process. |
| Ctrl+Z: |
Send the current process to background. |
| Ctrl+D: |
Log out from the current terminal. |
| Ctrl+Alt+Backspace: |
Kill the X server. |
|
|
Last Updated on Tuesday, 01 February 2011 18:10 |