When prompted to start the vi editor in Linux, prompt E325: What should ATTENTION do?

  

The Vi editor is a text editor for Linux. It is widely used in Linux systems. Many friends have prompted E325: ATTENTION error when opening the Vi editor. What should I do if I encounter this situation? The following small series will introduce you to the solution of E325:ATTENTION when Linux opens the Vi editor.

when the following prompt appears when you open the Vi editor do not worry

E325: ATTENTION

Found a swap file by the name & ldquo; /etc /. Profile.swp”

owned by: root dated: Wed Jul 14 10:01:10 2010

file name: /etc/profile

modified: YES

user name: root host name: zhaoyang-laptop

process ID: 1934

While opening file “/etc/profile”

dated: Thu Apr 29 20:18:30 2010

(1) Another program may be editing the same file.

If this is the case, be careful not to end up with two

Different instances of the same file when making changes.

Quit, or continue with caution.

(2) An edit session for this file crashed.

If this is the Case, use “:recover” or “vim -r /etc/profile”

to recover the changes (see “:help recovery&r Dquo;).

If you did this already, delete the swap file “/etc/.profile.swp”

to avoid this message.

“/etc/profile” 28 lines, 497 characters

Press ENTER or type command to continue

E325: ATTENTIONFound a swap file by the name “/etc/.profile.swp” owned by: root dated: Wed Jul 14 10:01:10 2010 file name: /etc/profile modified: YES user name: root host name: zhaoyang-laptop process ID: 1934While opening file “/etc/profile” dated: Thu Apr 29 20:18: 30 2010 (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit Session for this file crashed. If this is the case, use “:recover” or “vim -r /etc/profile” to recover the changes (see “:help recovery”). If you did this already, delete the swap file “/etc/.profile.swp” to avoid this message.<quo;/etc/profile” 28 lines, 497 charactersPress ENTER or type command to continue

Press Enter to enter the vi editor input: q! Exit the vi editor, enter rm -f /etc/.profile.swp at the terminal and press Enter. Once again, enter the vi editor and find that the previous prompt disappears.

The above is the introduction of E325:ATTENTION error when Linux opens the Vi editor. When you encounter this problem, follow the steps in the text and the prompt will disappear.

Copyright © Windows knowledge All Rights Reserved