• redjard@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    I type kill -4 $$ all the time so I don’t pollute bash history. It’s probably up there as most typed command in 3rd place after l and cd ...

    I swear I can type the entire thing in 1s flat on a good day.

      • redjard@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        But it saves the command history to disk.
        It makes the exit command redundant, so that is removed from the history, but all other commands in all cases but mistakenly sshing into the wrong machine will still be saved.