Originally Posted by jay73
You just add your export JAVA_HOME to the bottom of /etc/profile. As for the first excerpt you posted, that is the message you would get if your vim session crashed. It tells you that a copy of the original file has been made and that you need to decide what to do with it. See the information under (2) in the message.
I already recovered the changes, but I can not delete the swap file.
I tried this ff. commands with no effect:
swap -d /etc/.profile.swp
Can you tell me how can I delete the swap files?