linux 快捷键 linux shortkey

在输入命令时输入了错误的怎么办。。。

下面就是答案

  Keys for Command Line Editing

 

KEYSTROKES DESCRIPTION

text Insert text at the point where the cursor is at; if there is text to the right of

the cursor, it is shifted over to the right.

BKSP Delete the character to the left of the cursor.

DEL Delete the character the cursor is underneath.

RET Send the command line to bash for execution (in other words, it runs the

command typed at the shell prompt). You don’t have to be at the far right

end of the command line to type RET; you can type it when the cursor is

anywhere on the command line.

C−a Move the cursor to the beginning of the input line.

C−d Same as DEL (this is the Emacs equivalent).

C−e Move the cursor to the end of the input line.

C−k Kill, or "cut," all text on the input line, from the character the cursor is

underneath to the end of the line.

C−l Clear the terminal screen.

C−u Kill the entire input line.

C−y Yank, or "paste," the text that was last killed. Text is inserted at the point

where the cursor is.

C−_ Undo the last thing typed on this command line.

@leftarrow Move the cursor to the left one character. [GNU INFO BUG: any <> in the

preceding line should be the <− arrow key.]

@rightarrow Move the cursor to the right one character. [GNU INFO BUG: any <> in

the preceding line should be the −> arrow key.]

@uparrowand@downarrow Cycle through the command history (see section Command History). [GNU

INFO BUG: any <> in the preceding line should be the up and down arrow

keys.]

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>