You can press up on the terminal to type the previous command
!! runs the previous command in bash
history is stored in
Sometimes when user input is taken, it is executed as code.
$ echo "steve" | base64 c3RldmUK $ echo '$' | base64 JAo=
base64 maps character sets and is used to remove special characters from the password