Command Line Shortcuts Flashcards
Backspace
delete previous character
CTRL-d
delete current character (like a windows delete key)
CTRL-k
delete rest of line
CTRL-a
go to start of line (home)
CTRL-e
go to end of line (end)
CTRL-b
go backwards without deleting
CTRL-f
go forward without deleting
TAB
complete filename or command up to the point of uniqueness
CTRL-u
cancel from cursor to beginning of line
CTRL-p
show the last command typed, then the one before that, etc.
CURSOR-up
show the last command typed, then the one before that, etc.
CTRL-n
go forwards in the history of commands
CURSOR-down
go forwards in the history of commands
CTRL-c
cancel the processes after it has started
CTRL-z
suspend a running process (e.g. in order to do something else in between; you can then put the process in the background with bg)
CTRL-l
redraws the screen
delete previous character
Backspace
delete current character (like a windows delete key)
CTRL-d