Linux
Linux Shell Shortcuts
Special Variables $_ - Last argument of previous command mkdir my_directory && cd "$_" cp file.txt /backup && ls "$_" # ls /backup !! - Repeat last command sudo !! # Run last command with sudo echo "test" && !! # Repeat the echo !$ - Last argument of