Friday, August 27, 2010

Re: History doesn't work !

On Fri, Aug 27, 2010 at 02:17:34PM -0700, Tintin72 wrote:
>>Did you use sudo vim instead of sudo -e ?
>
> Yes I did. I don't know sudo -e. What it's about ?

man sudo will tell you. It runs the editor as a normal user on a
temporary file. Then sudo writes the content to the real file.

It should be used instead of just plain sudo to prevent running
the editor as root.

Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

No comments: