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 earlier commands last arguments.
I edited a file with nano /etc/some/long/path.conf and then ran cat and pressed Alt+. instead of typing the path again. why did nobody tell me this in school? seriously need help here 😭
