-
Notifications
You must be signed in to change notification settings - Fork 4
Command Line Cheatsheet
John Fraboni edited this page Dec 9, 2014
·
5 revisions
###Erasing Characters
| Command | Action | |
|---|---|---|
delete |
: | Erase one charater at a time |
control-w |
: | Erase one word at at time |
control-u |
: | Erase the whole line from the cursor to the prompt |
###Killing, Pausing & Resuming
| control-c | : | Kills any running process |
| control-z | : | Suspends any program |
| fg | : | Foreground, will resume a suspending program |
###History
| Command | Action | |
|---|---|---|
up-arrow |
: | Shows the previous command excuted |
down-arrow |
: | Shows the next command excuted, if any |
control-p |
: | Shows the previous command excuted |
control-n |
: | Shows the next command excuted, if any |