Ctl-A

Moves cursor to beginning of line of text (on the command-line).

Ctl-E

Moves cursor to end of line of text (on the command-line).

Ctl-D

erases the character under the cursor.

Ctl-B

Backspace (nondestructive).

Ctl-F

Moves cursor forward one character position (on the command-line).

Ctl-G

BEL. On some old-time teletype terminals, this would actually ring a bell. In an xterm it

might beep.

Ctl-H

Rubout (destructive backspace). Erases characters the cursor backs over while backspacing

it has same effect as Backspace.

Ctl-J

Newline (line feed). In a script, may also be expressed in octal notation — ‘\012’ or in

hexadecimal — ‘\x0a’.

Ctl-K

delete all characters between the cursor and current line end.

Ctl-L

this operation has same effect as command `clear`

Ctl-M

this operation has same effect as carriage return.

Ctl-O

Issues a newline (on the command-line).

Ctl-P

Recalls last command from history buffer (on the command-line).

Ctl-R

Backwards search for text in history buffer (on the command-line).

Ctl-T

Reverses the position of the character the cursor is on with the previous character (on the

command-line).

Ctl-U

Erase a line of input, from the cursor (not include the cursor) backward to beginning of line. In some settings, Ctl-U

erases the entire line of input, regardless of cursor position.

it has opposite effect to Ctl-K (characters deleted include the cursor.)

Ctl-V

When inputting text, Ctl-V permits inserting control characters.

eg:

we output string echo and ctrl + V, then click down Enter, it shows echo ^M. one blank line will be there after another enter.

edemon@CentOS workspace]$ echo ^M

Ctl-W

When typing text on the console or in an xterm window, Ctl-W erases from the character

under the cursor backwards to the first instance of whitespace.

Ctl-X

In certain word processing programs, Cuts highlighted text and copies to clipboard.

Ctl-Y

Pastes back text previously erased (with Ctl-U or Ctl-W).

eg:

ctrl + U deletes all characters from cursor to the beginning of line, and ctrl + Y paste it.

Ctl-Z

Pauses a foreground job.

Substitute operation in certain word processing applications.

EOF (end-of-file) character in the MSDOS

分类: Mac

发表评论

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