<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Say you did a:<div>ls /usr/local/really/long/path/i/dont/want/to/retype</div><div><br></div><div>to do that as sudo !ls</div><div><br></div><div>-Tom</div><div><br><div><div>On Mar 2, 2010, at 11:04 AM, Matthew Nuzum wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">What's the simplest, shortest, easiest to perform, whatever way to repeat the last command but with sudo in front of it?<br><br>currently I up arrow, ctrl + a then type sudo [space] [enter].<br><br>It seems like something so common should have a keyboard shortcut.<br clear="all">
<br>-- <br>Matthew Nuzum<br>newz2000 on freenode, skype, linkedin, <a href="http://identi.ca/">identi.ca</a> and twitter<br>
_______________________________________________<br>Cialug mailing list<br><a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>http://cialug.org/mailman/listinfo/cialug<br></blockquote></div><br></div></body></html>