查看所在路径 pwd 创建文件 touch test.date 修改文件 vim test.date,在出来的页面按i(即insert),就能编辑了。输入完成后,按Esc退出,摁:wq,然后摁enter。