Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 09:02:10 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-questions@FreeBSD.ORG, Leon@TicketWeb.co.za
Subject:   Re: Recovering edited file
Message-ID:  <199810141602.JAA26485@pau-amma.whistle.com>
In-Reply-To: <C90138C34D2DD2118C1C00A02459433B03E3C0@MAIL>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: Leon Myburgh <Leon@TicketWeb.co.za>
>Date: Wed, 14 Oct 1998 16:56:44 +0200

>Does VI make ANY backups of the files you edit? I edited a file and
>would like to get back to the original contents. This was done today and
>is really critical.

Yes; in /var/tmp/vi.recover.  But as far as I know, those backups are
only used in the event that the editor session is killed prior to a
graceful termination.

Other than that, it makes backups every time you enter ":w" in command
mode....

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810141602.JAA26485>