you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 2 months ago (1 child)

What if you're in a terminal? Ctrl-C might not be the wisest choice.

  • source
  • hideshow 1 child comment
  • [–] 0 points 2 months ago* (last edited 2 months ago)

    I sometimes use Ctrl+w (yank the last word) then Ctrl+y (paste it) in terminal.

    Ctrl+a (move the cursor to the beginning of this line — useful to add sudo)

    Ctrl+e (move the cursor to the end of this line)

    Ctrl+f (move the cursor forward one character)

    Ctrl+b (move the cursor back one character)

    Ctrl+u (yank the whole line — better than hitting backspace a whole lot)

    Ctrl+l (clear the terminal)

    Ctrl+d (logout/exit)

  • source
  • parent