217
submitted 1 month ago by cybercitizen4@lemm.ee to c/asklemmy@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] RagingRobot@lemmy.world 16 points 1 month ago

CTR + u will delete the whole command. I use that a lot so I don't have to backspace. It's saved me a ton of time

[-] call_me_xale@lemmy.zip 17 points 1 month ago

Related: Alt + ., to cycle through arguments used in previous commands

[-] potentiallynotfelix@lemmy.fish 5 points 1 month ago

I just use control C, is there a difference other than whether the line shows up or not?

[-] darvit@lemmy.darvit.nl 4 points 1 month ago

How about ctrl+c to cancel and clear the command you are typing? It's much easier because you only need 1 hand, and does not impact your shell's history.

And then ctrl+y to paste it back and recover that text.

[-] emergencybird@lemmy.world 2 points 1 month ago

This is great for when you type in your root password incorrectly!

this post was submitted on 21 Sep 2024
217 points (96.6% liked)

Asklemmy

43733 readers
1385 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS