• heartSagan5@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 days 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)