Bash: Hotkeys
- ctrl+a : move your cursor to the beginning of the line
- ctrl+e : move your cursor to the end of the line
- ctrl+k : delete any characters from your cursor to the end of the line
- ctrl+u : delete any characters from your cursor to the beginning of the line
- ctrl+w : delete previous word
- ctrl+t : transpose two previous characters
- ctrl+y : yank/recover the last deletion
- ctrl+d : delete one character at the cursor position
- ctrl+h : delete one character before the cursor
- ctrl+f : move forward (or use the right arrow ! :-)
- ctrl+b : move backward (or use the left arrow ! :-)
- ctrl+r : find character sequence in history (completion mode)
- ctrl+g : escape from completion mode
Tnks Web
- ctrl-l = clear screen.
- ctrl-r = does a search in the previously given commands so that you don't have to repeat long command.
- ctrl-u = clears the typing before the hotkey.
- ctrl-a = takes you to the begining of the command you are currently typing.
- ctrl-e = takes you to the end of the command you are currently typing in.
- esc-b = takes you back by one word while typing a command.
- ctrl-c = kills the current command or process.
- ctrl-d = kills the shell.
- ctrl-h = deletes one letter at a time from the command you are typing in.
- ctrl-z = puts the currently running process in background, the processcan be brought back to run state by using fg command.
- esc-p = like ctrl-r lets you search through the previously given commands.
- esc-. =gives the last command you typed.
Tnks Web
- Alt + < - Move to the first line in the history
- Alt + > - Move to the last line in the history
- Alt + ? - Show current completion list
- Alt + * - Insert all possible completions
- Alt + / - Attempt to complete filename
- Alt + . - Yank last argument to previous command
- Alt + b - Move backward a word
- Alt + c - Capitalize the word
- Alt + d - Delete word
- Alt + f - Move forward a word
- Alt + l - Make word lowercase
- Alt + n - Search the history forwards non-incremental
- Alt + p - Search the history backwards non-incremental
- Alt + r - Recall command
- Alt + t - Move words around
- Alt + u - Make word uppercase
- Alt + back-space - Delete backward from cursor
Tnks Web
No comments:
Post a Comment