View Single Post
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#7
You could create an alias so you only have to type (for example) "r"

add this line to /etc/profile (you'll have to be root)

Code:
alias r="sudo gainroot"
Now next time you'll login, just type "r" instead
__________________
May the source be with you.