#bash
Today i learned i can keep a command out of bash history by starting it with a space, as long as HISTCONTROL includes ignorespace or ignoreboth. Ubuntu's default .bashrc uses ignoreboth, so it probably already works for many people. also, history grep was…
so annoyed rn i just learned that !! in bash means "previous command", so sudo !! reruns teh last command as root, i also found Alt+... which pastes the last argument of teh previous command where my cursor is... press it repeatedly to go back through…