Skip to content

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

Command Action
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
Clone this wiki locally