is a microblog
home archives search feed blogroll

Erase The Current Line In The Terminal

You can use Ctrl+U to erase the current line in the terminal. No need to long press the backspace key while it slowly erases letters one by one. The deleted line can be recalled using Ctrl+Y.

You can also use Ctrl+W to erase the last word.

If you remapped Caps Lock to Ctrl, you can use Caps Lock instead.

Posted on 2018-03-08   #til  

← Next post    ยท    Previous post →