Sunday, August 24, 2008

CLI Tip: Control Terminal Keystroke Combinations

Here are more keyboard keystroke combinations that can be done from your current terminal session. These CLI keystroke combinations can be quite handy while doing CLI task. You may find these keyboard keystrokes useful while trying to issue CLI linux commands or editing CLI commands before executing them.

CLI Tip: Control Terminal Keystroke Combinations

Here are several keyboard keystroke combinations that you can do with your CLI session. Try them out, it works well with most X-terminals and some CLI-based editors.
Ctrl+Left - moves cursor to the beginning character of next word going to left side
Ctrl+Right - moves cursor to the next space character going to right side
Ctrl+A - moves cursor to the beginning of the command strings
Ctrl+E - moves cursor to the last character of the command strings
Ctrl+U - erases all current command strings
Ctrl+C - cancels current command strings and moves to a new line for next command string
PageUp/PageDn - inserts command string from command buffer saved from current memory session
Home/End - same like Ctrl+A and Ctrl+E
Ctrl+H - same as backspace function
Ctrl+M - same like hitting the Enter key
Ctrl+W - erases the last word from command strings
Ctrl+B - moves cursor position one position going to left
Ctrl+I - attempts to complete the current command string for possible valid command
Alt+2...N - moves screen focus to 2nd tabbed terminal session for multiple CLI screens
Tab - same like Ctrl+I
Left/Right Control Keys - left and right cursor directions

Hope this helps.

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy