bash Tips & Tricks
Bourne Again Shell. bash magic Some handy bash magic. sudo last command If you forgot sudo after executing your 3-lines-command, sudo bang! bang! will repeat the last entered command with sudo prefixed. More parameter magic bang Expands to !$ last argument of previous command !$:p just show last argument of previous command, don’t add to… Read More »