언어/Linux
[리눅스 vi error]“!q” and “wq!” failed to quit vim [duplicate]
쟈누
2020. 6. 7. 12:36
반응형
이 에러는 무슨 권한같은것이 없을 때 나타나는 현상이라고
한다.(틀렸을 수도.)
리눅스를 실습할 때에는 그동안 root 권한으로 했기 때문에
잘 되엇지만 이번에는 root 가 아닌 개인 계정으로 했기 때문에
이런 현상이 발생한 것 같다. 이런일을 해결하기 위해서는
다 작성하고 마지막에
:w [file name]
을 써주면 해결이 가능하다고 한다
참고 링크
https://askubuntu.com/questions/1100243/q-and-wq-failed-to-quit-vim
"!q" and "wq!" failed to quit vim
I tried to quit vim "/etc/sysconfig/network-scripts" "/etc/sysconfig/network-scripts" E212: Can't open file for writing Press ENTER or type command to continue When I press Enter, it returns to e...
askubuntu.com
반응형