I was doing homework on a remote server, and I realized that I had my header and cpp files swapped. So, I wanted to change the names. I began by renaming my header file 'temp'.
Then, weird things started happening. First, header file, named "temp", disappeared. The old header, named someFile.cpp, became empty. Also, my brackets started showing up as weird lowercase å characters.
Is this an issue with VI? My machine? Is there is a way to correct the situation?
Edit:
My machine was running Mac OS X, the remote machine was running some other Unix or Linux variant. I think it was Red Hat or Debian.
I used mv to rename the file.