Linux
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Linux

  1. #1
    Join Date
    Aug 2001
    Posts
    390
    I was in vi to edit one of the file through telnet from the client machine. All the sudden, my machine is crashed so I have to reboot. when I go in to try to edit this file again, it tell me that it give me an attention message and ask me to recovery this file since it's in the swap file now.

    what is the command to recover this changes ???
    I did try: vim -r filename but it said command not found. what is the command to clear the swap file. I don't really care if I lose my previous changes as long as I don't see this warning message again.

    thanks

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828

    Talking

    hello

    Just go to the swap directory and delete your old file.

    regards
    Hrishy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width