Swap file

Rick Stevens rstevens at vitalstream.com
Thu Dec 22 22:26:22 UTC 2005


On Thu, 2005-12-22 at 14:09 -0800, Bret Stern wrote:
> Perhaps the wrong place for this post.
> 
> How/where do I remove a swap file?
> 
> A network error occurred during a remote login
> while vi (editing) a perl script.

Oh, THAT kind of swap file.  You can use "vi -r name-of-file" to recover
the broken edit, or look for a file named ".name-of-file.swp" in the
same directory where you launched "vi" from originally and delete it.

Note that you'll need to use "ls -a" to see files that start with a
dot.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   To understand recursion, you must first understand recursion.    -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list