News for hackers. Stuff that matters.
Re:Devops/Sysadmin Cheatsheet by AaronBBrown on Friday January 11, 2013 @02:58PM (#5044634)
I use this one like a dozen times a day.

  user@host$ less /var/log/syslog
  Permission Denied
crap...

  $ sudo !!
  sudo less /var/log/syslog
Woo!
Re:Devops/Sysadmin Cheatsheet by sudara on Saturday January 12, 2013 @07:31AM (#5047617)
This is exactly how I use it. A time saver for mundane "whups" moments.
Re:Devops/Sysadmin Cheatsheet by biturd on Friday January 11, 2013 @03:15PM (#5044721)
why would that be bad? You would get to read your file.
Re:Devops/Sysadmin Cheatsheet by AaronBBrown on Friday January 11, 2013 @08:48PM (#5046138)
It's not bad. It's extremely useful. If someone is so negligent that they run something potentially destructive and then immediately sudo !!, they probably shouldn't be administering systems.