Command-Line-Fu, Because Knowledge is Power | Linux Today

Command-Line-Fu, Because Knowledge is Power

Written By
JK
Juliet Kemp
Mar 17, 2009

“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.”

Complete
Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.