Latest News Updates

Latest News    

Wednesday, 22 December 2010

Bash Tips and Tricks

Hi friends most of the professionals work on different linux  flavours, this keyboard shortcut will be handy for them and will be updating if i find any and let me know if we can add something to this list of shortcuts.


BASH SHORT CUT COMMANDS
Esc + T
Swap the last two   words before the cursor
Ctrl + A
Go to the beginning   of the line you are currently typing on
Ctrl +   L             
Clears the Screen,   similar to the clear command
Ctrl + U
Clears the line   before the cursor position.
Ctrl + H
Same as backspace
Ctrl + R
Let’s you search   through previously used commands
Ctrl + C
Kill whatever you   are running
Ctrl + D
Exit the current   shell
Ctrl + Z
Puts whatever you   are running into a suspended background process. fg restores it.
Ctrl + W
Delete the word   before the cursor
Ctrl + T
Swap the last two   characters before the cursor
Ctrl + E
Go to the end of the   line you are currently typing on
Ctrl + K
Clear the line after   the cursor
Alt + F
Move cursor forward   one word on the current line
Alt + B
Move cursor backward   one word on the current line
Tab
Auto-complete files   and folder names
Ctrl + Y
to paste it (as in delete and   copy) all text in front of the cursor
Esc + .
To paste the argument of previous command

People who read this post also read :



0 comments:

Post a Comment