linux 的vi命令

#vi  文件名称

按i键进入insert模式 

修改文件后 按esc 键  输入 :wq保存退出   :q 不保存退出。

猜你喜欢

转载自gaoyanlong.iteye.com/blog/1920182