Hadoop:Found a swap file by the name "/etc/.hosts.swp"

来源:互联网 发布:数控编程的内容和步骤 编辑:程序博客网 时间:2024/06/07 15:41
输入sudo vi /etc/hosts并输入密码后回车出现:
E325: ATTENTION
Found a swap file by the name "/etc/.hosts.swp"
owned by: root dated: Thu Jul 17 16:22:59 2014
file name: /private/etc/hosts
modified: YES
user name: root host name: harimurasakiyudeMacBook-Air.local
process ID: 382
While opening file "/etc/hosts"
dated: Tue Mar 3 21:34:51 2015

NEWER than swap file!

……………………

我用的是Centos

打开终端输入:rm -f /etc/.hosts.swp


0 0
原创粉丝点击