vim
i + Enter(回车)
输入C语言程序
#include void main() { printf("hello word\n"); }
ESC 退出
:wq +程序名字.c
Enter(回车)
ls
会出现一个hello.c的文件
gcc hello.c -o hello(想要命名的名字)
运行
./hello