"The very top one when I looked, sudo !!, is something that I
knew the pieces of but for some reason never thought of putting
together: !! is a reference to the last command issued, so sudo !!
runs that under sudo. Perfect when you've just run something and
got "permission denied", and quicker than my usual method of using
the up arrow and then Ctrl-A to go to the start of the line."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.