how to delete swap file

December 12, 2010 at 22:08:53
Specs: Windows XP
while i was editing a sh file, somehow a swap(.swp) file with the same name got created. i am not able to delete it now. i think it is hidde coz i can see it with ls -a command only. how do i delete it?

See More: how to delete swap file

Report •

#1
December 13, 2010 at 01:42:31
You were using VIM to edit your file. Somehow, you got out of VIM improperly and the .swp file was left behind. Why not simply do a remove on the file? If you want to recover it, then enter VIM and type:

:recover [filename]

More information is available at:

http://vimdoc.sourceforge.net/htmld...


Report •
Related Solutions


Ask Question