Error using Vi

Whenever i try and open my my.cnf file using Vi text editor, I always recieve a warning:

Found a swap file by the name ".my.cnf.swp"
owned by: root dated: Tue Apr 6 21:04:58 2004
file name: /etc/my.cnf


After pressing any key, it takes me to the file. How do I delete the swap file it keeps finding?

 

 

 

 

Top