Linux Terminal (BASH) Keyboard shortcuts. Readable presentation.

Linux terminal shortcuts are extremely handy. They can speed-up your everyday tasks significantly. Additionally, most commends are applicable to Cisco telnet/SSH sessions and any other terminals. A very little amount of people aware that your terminal can cut/paste strings and words. It can, all shortcuts are there.

There are thousands of pages out there with the list of same shortcuts. What is the reason for me to duplicate widely spread information? Simple – all list around there are organized in a random unreadable way. I’ve put some effort and organized stuff according the functionality. I believe that my version of the list is much more usable than the rest out there. Enjoy.

Terminal Shortcuts:

Navigating:

Ctrl + b - Move back a char
Ctrl + f - Move forward a char
Alt + b - Move backward till the beginning of the current word
Alt + f - Move forward till the end of current word
Ctrl + a - Jump to the start of the line
Ctrl + e - Jump to the end of the line

Deleting:

Ctrl + d - Delete a char from under the cursor (works like DELETE key)
Ctrl + h - Delete a char prior to cursor (works like BACKSPACE key)

Cutting

Alt + d - Delete (and cut) forward from cursor till the end of the word
Alt + back-space - Delete (and cut) a word backward from cursor till beginning of the word
Ctrl + k - Delete (and cut) forward from cursor till the end of the line (can be pasted by Ctrl + y)
Ctrl + u - Delete (and cut) backward from cursor till beginning of the line (can be pasted by Ctrl + y)

Pasting

Ctrl + y - Paste last cut thing

Editing

Alt + c - Capitalize the word (Makes first letter capital)
Alt + l - Make word lowercase
Alt + u - Make word uppercase
Ctrl + t - Exchange the char below the cursor with previous char
Alt + t - Exchange the word below the cursor with previous word

Various

Ctrl + v, <key> - Print an ascii representation of the <key> button
Ctrl + s - suspend currently running terminal
Ctrl + q - unsuspend terminal