Hits : 3418

bash – a simple tutorial


bash : Gnu Bourne-Again SHell


http://www.gnu.org/software/bash/


top



bash : Manual


http://www.gnu.org/software/bash/manual/bashref.html


top



bash : Control Key 


Ctrl + a  begin line
Ctrl + e  end line
Ctrl + w  delete word
Ctrl + l  clear screen
Ctr + t  change position of 2 characters
Ctr + r  search history commands
top

bash : Escape Key 

esc + backspace delete a word
esc + b  go backword one word
esc + f  go forward one word
esc + d  delete one word
esc + c  change first letter to uppercase, go forward one word
esc + l  change first letter to lowercase. go forward one word
esc + u  change one word to uppercase
esc + t  change position of 2 words
top

bash : Extra

Ctrl + A  Go to the beginning of the line you are currently typing on 
Ctrl + E  Go to the end 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. If you are at the end of the line, clears the entire line.
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 + K  Clear the line after the cursor
Ctrl + T  Swap the last two characters before the cursor
Esc + T  Swap the last two words before 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
top