Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yelkeew
on Dec 16, 2010
|
parent
|
context
|
favorite
| on:
Run last command as root
I got this from a former co-worker and am now completely reliant:
alias r='sudo '
Note the space after sudo in the quotes. Cuts down on keystrokes when you have to spend a lot of time sudo-ing.
switch007
on Dec 16, 2010
[–]
The space isn't required with Bash :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: