file became empty after edit mode need to retrieve its contents
I tried to open a file CW001.sql last night and then when tried to close it, it asked whether to save in .swp and dont know what i did now there is no contents in the file. Its empty. How can i retrieve the contents back. please help. Will recover or lsof command help? Advise with commands please.