Thursday 17 April 2014

Advanced linux keyborad Skills


Sysadmins use terminal or virtual terminal to control the Linux Systems. It is very usually for the system admin to master some terminal skills.

Ctrl-a
Move the cursor to the beginning of the line
Ctrl-e
Move the cursor to the end of the line
Ctrl-f
Move forward the cursor one character ahead
Ctrl-b
Move backward the cursor one character behind
Alt-f
Move forward the cursor one word ahead
Alt-b
Move backward the cursor one word behind
Ctrl-d
Clear the screen and keep the command
Alt-l
Change all the letters lower case from cursor to end of the word
Alt-u
Change all the letters upper case from cursor to end of the word
Ctrl-k
cut the command line from cursor to end of the line
Ctrl-u
cut the command line from cursor to beginning of the line
Alt-d
Cut the word from cursor to end of word
Alt-Backspace
Cut the word from cursor to beginning of word
Ctrl-y
Paste
Alt-?
Same as [tab][tab], list all possible command
history command
List all the history command
Ctrl-r
Search in the history command
!!
Execute the last command
!number
Execute the number command


Practice is the most efficient way to master the commands

No comments:

Post a Comment