Loading video...

Video Failed to Load

Go Home

Quick Linux Tip 🐧😎 Many people either don’t know about this or rarely use it. Pressing Ctrl+U in the Linux terminal deletes everything from the cursor position to the beginning of the line. Similarly, Ctrl+K deletes everything from the cursor position to the end of the line. This is...

20,299 views • 1 year ago •via X (Twitter)

11 Comments

sysxplore's profile picture
sysxplore1 year ago

Get the high-res pdf cheatsheets + bash scripting notes here:✅

cr0@Defensive-Security.com / PurpleLabs / EDRmetry's profile picture
[email protected] / PurpleLabs / EDRmetry1 year ago

Learn Linux Attack, Detection & Forensics: ↳ Dive into Linux Malware TTPs/behavior ↳ A full Scope of Attack & Defense ↳ Active Defense Hands-on ↳ Improve Detection and Visibility ↳ Linux Security Knowledge Base It's not just another course, it's 🚀

Swapna Kumar Panda's profile picture
Swapna Kumar Panda1 year ago

Great tip. I have never used it.

Wolf's profile picture
Wolf1 year ago

Actually, it's more powerful than just delete something from CLI. The "deleted" part is stored in a buffer and, you can reuse it by just pressing CTRL+Y.

Sumit Saurabh | Javascript | React's profile picture
Sumit Saurabh | Javascript | React1 year ago

I do a cmd + backspace

Ismail Shiwani 🇦🇫 🇺🇦's profile picture
Ismail Shiwani 🇦🇫 🇺🇦1 year ago

I use Ctrl+a, e and u.

Pawel Jastrzebski 🇵🇱 🇬🇧's profile picture
Pawel Jastrzebski 🇵🇱 🇬🇧1 year ago

I'm one of those rarely using it users but it changes today! PS. How did you display the folder icon in the terminal 🧐?

Evanation's profile picture
Evanation1 year ago

Very nice.

Charukirti Chougule's profile picture
Charukirti Chougule1 year ago

Thanks for this tip 🙌

Fake Wojo's profile picture
Fake Wojo1 year ago

Oh wow, this a huge one! What I had been doing instead was `home`, and holding ctrl+del to delete quickly.

DEESICK's profile picture
DEESICK1 year ago

I know about ctrl+K now I’ve just learned about ctrl+U. I always learn useful tips from here. Great job @sysxplore

Related Videos