Tuesday, July 5, 2016

Shortcuts to cut, copy & paste on a terminal command line


Ctrl + u : Deletes from the cursor back to the line start.
.
Ctrl + k : Deletes from the cursor to the end of the line.

Ctrl + w : Deletes until after the previous word boundary.

Alt + d : Deletes until before the next word boundary.

Ctrl + y : Yank/Past the previous killed text at he cursor position.

Alt + y : Yank/Past the previous previous killed text at he cursor position.

More details:
https://en.wikipedia.org/wiki/GNU_Readline

0 comments:

Post a Comment

Popular Posts

Recent Posts

Unordered List

Text Widget

Pages

Search This Blog

Powered by Blogger.