Swap file "/etc/sysconfig/.iptables.swp" already exists!
使用linux虛擬機器,想要放開一些埠,在開啟iptables檔案時出現了問題
Swap file "/etc/sysconfig/.iptables.swp" already exists!
然後,網上衝浪發現是因為Linux多次vim編輯, 同一個檔案如果在上一次編輯時未進行儲存,則在下一次想要進行編輯時就會出現:
swap file "*.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
解決方式就是:
ll -a 檢視當前目錄下所有的檔案 刪除以swp結尾的臨時檔案
在當前的目錄下刪除臨時檔案
# rm -rf *.swp相關文章
- 刪除編輯檔案警告Swap file “…” already exists!
- 奇怪報錯資訊“db already exists with different case already have”解決方法
- git使用報錯fatal: remote origin already exists.GitREM
- linux——學習1the home directory already exists.Linux
- PRCS-1007 : Server pool racdb already existsServer
- Leetcode Swap Nodes in PairsLeetCodeAI
- Oracle Database on NFS : unable to lock file - already in use" ErrorOracleDatabaseNFSError
- django資料庫同步時報錯“Table 'XXX' already exists”Django資料庫
- GitHub 託管程式碼的部分 fatal: remote origin already existsGithubREM
- android/libs/libammsdk.jar" already exists! 解決方法AndroidJAR
- Unable to create index.lock File exists錯誤Index
- centos 6.8 /etc/sysconfig/下沒有iptables的問題CentOS
- ORA-27100: shared memory realm already exists解決方法
- 解決CentOS /etc/sysconfig/下沒有iptables的問題CentOS
- Leetcode 24 Swap Nodes in PairsLeetCodeAI
- LeetCode 24 Swap Nodes in PairsLeetCodeAI
- Leetcode-Swap Nodes in PairsLeetCodeAI
- Swap Nodes in Pairs leetcode javaAILeetCodeJava
- php判斷檔案存在是用file_exists還是is_filePHP
- ORA-27100 shared memory realm already exists錯誤解決
- 阿里雲伺服器下無/etc/sysconfig/iptables檔案阿里伺服器
- Python BUG FileExistsError: [Errno 17] File exists: xxxPythonError
- OPatch failed with error code 135, Given 'ocmrf' file does not existsAIError
- ora-27100:shared memory realm already exists錯誤的解決
- su - grid 提示E297: Write error in swap fileError
- CDH CM cloudera-scm-server dead but pid file existsCloudServer
- Leetcode 線性表 Swap Nodes in PairsLeetCodeAI
- 【MySQL】重放binlog故障一則 ERROR 1050 (42S01) : Table '' already existsMySqlError
- oninit -vy 出錯: Fatal error in shared memory creation 以及 shared memory already existsError
- vagrant up 啟動報錯 Stderr: VBoxManage.exe: error: A NAT rule of this name already existsError
- File.Exists(Application.StartupPath + \\Settings\\Settings.xml)APPXML
- NAVICATE 修改儲存過程提示PROCEDURE _Navicat_Temp_Stored_Proc already exists 解決方法儲存過程
- File getPath()、getAbsolutePath()、getCanonical
- 配置tsm在格式化資料庫資訊的時候報錯:This database name already exists資料庫Database
- ORA-13607: The specified task or object ,SYS_AUTO_SPCADV_xxx already existsObjectPCA
- [Oracle] exists 和 not existsOracle
- [LeetCode] Swap Nodes in Pairs 成對交換節點LeetCodeAI
- EXISTS、IN、NOT EXISTS、NOT IN用法區別