Skip navigation.

Learning linux……

Bash Readline Keyboard shortcuts

全文在这里:http://xs.mw/wiki/index.php/Bash_Readline_Shortcuts
这些东西都挺简单的,试着做一下就知道是干什么的.

SHORTCUT DESCRIPTION
Shift + PgUp Scroll one page up in terminal history
Shift + PgDn Scroll one page down in terminal history
! Repeat last command
!x Repeat command x (replace with numeric) from bash history
!$ Replaced with last command line argument
Tab Tab All available commands(common)
(string) Tab Tab All available commands starting with (string)
/ Tab Tab Entire directory structure including Hidden one
Tab Tab Only Sub Dirs inside including Hidden one
* Tab Tab Only Sub Dirs inside without Hidden one
~ Tab Tab All Present Users on system from "/etc/passwd"
$ Tab Tab All Sys variables
@ Tab Tab Entries from "/etc/hosts"
= Tab Tab Output like ls or dir
Ctrl + a Jump to the start of the line
Ctrl + b Move back a char
Ctrl + c Terminate the command
Ctrl + d Log out
Ctrl + e Jump to the end of the line
Ctrl + f Move forward a char
Ctrl + k Cut to EOL
Ctrl + l Clear the screen
Ctrl + r Search the history backwards
Ctrl + R Search the history backwards with multi occurrence
Ctrl + u Delete backward from cursor
Ctrl + w Delete token left of cursor
Ctrl + xx Move between EOL and current cursor position
Ctrl + x @ Show possible hostname completions
Ctrl + y Paste to EOL
Ctrl + z Suspend/ Stop the command
Alt + < Move to the first line in the history
Alt + > Move to the last line in the history
Alt +? Show current completion list
Alt + * Insert all possible completions
Alt + / Attempt to complete filename
Alt + . Yank last argument to previous command
Alt + b Move backward
Alt + c Capitalize the word
Alt + d Delete word
Alt + f Move forward
Alt + l Make word lowercase
Alt + n Search the history forwards non-incremental
Alt + p Search the history backwards non-incremental
Alt + r Recall command
Alt + t Move words around
Alt + u Make word uppercase
Alt + back-space Delete word left of cursor

VimTip 7: 跳到代码块的开始和结束wget使用方法

Comments

mysurface 8. July 2006, 06:23

great!

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30