• RagingRobot@lemmy.world
    16·
    10 months 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·
      10 months ago

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

    • potentiallynotfelix@lemmy.fishEnglish
      5·
      10 months ago

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

    • darvit@lemmy.darvit.nl
      4·
      10 months 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.