[nylug-talk] Ubuntu's lack of root.
David Rosenstrauch
Wed Jul 5 11:24:50 EDT 2006
Well, true. But along the lines of "couldn't resist" ...
You forgot about tab completion. sudoe<tab> saves me a few keystrokes
over typing "sudo nano".
Let's see ... multiply that by 5 times a day, over the course of a year ...
:-)
DR
Mike Allred wrote:
> Unless the name of <your-favorite-editor> is <= 3 characters long, in which
> case sudoedit is not a shortcut at all.
>
> Long live vim!
>
> /couldn't resist, it's hot out
>
> On 6/30/06, David Rosenstrauch <darose at darose.net> wrote:
>>
>> mike at jurney.org wrote:
>> > Seriously. You shouldn't ever be root unless you're doing something
>> that
>> > absolutely requires it. Doing `sudo vim /etc/hosts` is smarter in
>> every
>> > way than doing `ssh root at localhost (log in); vim /etc/hosts; (leave
>> root
>> > shell sitting around open in an xterm for the next 3 days in case you
>> need
>> > to do something else); logout;`.
>>
>> FYI (if you weren't aware already), "sudoedit <some-file>" is a nice
>> shortcut for "sudo <your-favorite-editor> <some-file>".
>>
>> DR
More information about the nylug-talk
mailing list