How to run the previous command with sudo quickly - good coders code, great reuse |
| How to run the previous command with sudo quickly Posted: 10 May 2014 07:48 AM PDT Here's another pro tip. Say you wanted to run a command in sudo context but forgot that. Usually you'd hit the up arrow, press There is a geekier way to do that. Just type: $ sudo !! Bash will expand the two exclamation points to the previous command and it will be run through |
| You are subscribed to email updates from good coders code, great reuse To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |
No comments:
Post a Comment
Keep a civil tongue.