• @RagingRobot
    link
    155 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

    • @[email protected]
      link
      fedilink
      English
      55 months ago

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

    • @[email protected]
      link
      fedilink
      45 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.

    • @emergencybird
      link
      25 months ago

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