Saturday, June 27, 2009

Shell Shortcuts

Quite a few useful shortcuts in the shell can help you enter commands even more
quickly. To really master the shell, you should learn a few of these shortcuts.

Key Combination Action Taken
ALT-B Move cursor backward one word on the current line
ALT-F Move cursor forward one word on the current line
CTRL-A Go to the beginning of the line you are currently typing on
CTRL-D Exit the current shell
CTRL-E Go to the end of the line you are currently typing on
CTRL-H Same as BACKSPACE
CTRL-L Clear the screen; similar to the clear command
CTRL-W Delete the word before the cursor
TAB Auto-complete files and folder names
UP ARROW Scroll through previously used commands

sudo find / -name 'Hello*'

1 comment:

  1. The Shortcuts C# Component supports Ctrl, Alt and Shift with any other keys to trigger a specific action for their Windows applications.

    ReplyDelete