Thursday, October 4, 2007

Key Combination For BASH Script

Key or key combinationFunction
Ctrl+AMove cursor to the beginning of the command line.
Ctrl+CEnd a running program and return the prompt, see
Ctrl+DLog out of the current shell session, equal to typing exit or logout.
Ctrl+EMove cursor to the end of the command line.
Ctrl+HGenerate backspace character.
Ctrl+LClear this terminal.
Ctrl+ZSuspend a program, see
ArrowLeft and ArrowRightMove the cursor one place to the left or right on the command line, so that you can insert characters at other places than just at the beginning and the end.
ArrowUp and ArrowDownBrowse history. Go to the line that you want to repeat, edit details if necessary, and press Enter to save time.
Shift+PageUp and Shift+PageDownBrowse terminal buffer (to see text that has "scrolled off" the screen).
TabCommand or filename completion; when multiple choices are possible, the system will either signal with an audio or visual bell, or, if too many choices are possible, ask you if you want to see them all.
Tab TabShows file or command completion possibilities.

No comments: