GNU Readline Library enable to edit the command line shortcuts. Readline uses emacs key binding. It means a lot of CTRL/ALT keys.
- Ctrl+C # Interrupt to exit, terminate the command
- Ctrl+D # disconnect from shell
- Ctrl+Z # suspend the process, suspend/stop the command
- Ctrl+l # clear screen
- Ctrl+s # stops the output to the screen
- Ctrl+q # allow output to the screen
(If previously stopped using Ctrl+s)- !! - run last command
- Ctrl+r # search the history backwards
- Ctrl+g # escape from history searching mode
- Ctrl+a # go to start of the command line
- Ctrl+e # go to end of the command line
- Ctrl+f # move forward one character (identical to VIM)
- Ctrl+b # move backward one character (identical to VIM)
- Ctrl+p # previous command in history
- Ctrl+n # next command in history
Tuesday, October 25, 2011
Bash Shortcuts
Labels:
bash shortcuts,
Linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment