Linux小白教程:vi(shell文本编辑器)保存、退出命令
:w /* save not exit */
:w newfilename /* save as use name "newfilename" */
:q /* exit, only the file not changed */
:q! /* exit not save file, all change will been give up */
posted on 2009-10-20 16:33 wqlblogger 阅读(3147) 评论(2) 编辑 收藏 举报