linux/linux 중급
[linux][crontab -e 에서 빠져나오기]
jamesku
2013. 12. 23. 00:00
# crontab -e 에서 빠져나오기
How to save and exit crontab -e?
이게
export EDITOR=vi
이런 환경설정을 하지 않고 바로 수정하러 가면 vi 에디터가 아니기 때문에 당황한다.
Ctrl+X
Y (저장)
N (저장안함)
<답변>
As others have pointed out, the first thing is to make sure you're using an editor you like.
We're all admins here, so we all like vi (ducks, runs).
export VISUAL=vi
crontab -e
(do some edits, finishing with ESCAPE)
:wq