Bash keyboard shortcuts

Some keyboard shortcuts and commands for the Bash.

Key sequence Action
ctrl-c Kill current process
ctrl-z Send current process to background
fg return Restore background process to foreground
ctrl-d Log out of terminal
ctrl-l Clear terminal
ctrl-u Clear line
ctrl-k Delete from position of cursor to end of line
ctrl-w Delete word before cursor
alt-b Back one word
alt-f Forward one word

You can find more on the Wikipedia page: Bash (Unix shell).

Last modified: 26/10/2009 Tags:

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top