Bash Shortcuts by DaveChild

About This Content

This content, Bash Shortcuts, was created on 27th October, 2011 and was last updated on 21st February, 2014.

Tags

bash, commandline, linux

Bash Shortcuts appears on:

Bash Shortcuts

CTRL-c Stop current command
CTRL-z Sleep program
CTRL-a Go to start of line
CTRL-e Go to end of line
CTRL-u Cut from start of line
CTRL-k Cut to end of line
CTRL-r Search history
!! Repeat last command
!abc Run last command starting with abc
!abc:p Print last command starting with abc
!$ Last argument of previous command
ALT-. Last argument of previous command
!* All arguments of previous command
^abc­123 Run previous command, replacing abc with 123