O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deletion Commands

Keystrokes

Command name

Description

Del

backward-delete-char

Delete previous character.

C-d

delete-char

Delete character under cursor.

M-Del

backward-kill-word

Delete previous word.

M-d

kill-word

Delete the word the cursor is on.

C-k

kill-line

Delete from cursor to end of line.

M-k

kill-sentence

Delete sentence the cursor is on.

C-x Del

backward-kill-sentence

Delete previous sentence.

C-y

yank

Restore what you’ve deleted.

C-w

kill-region

Delete a marked region (see next section).

(none)

backward-kill-paragraph

Delete previous paragraph.

(none)

kill-paragraph

Delete from the cursor to the end of the paragraph.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required