https://bellard.org/jslinux/vm.html?url=https://bellard.org/jslinux/buildroot-x86.cfg
step1:创建一个文件,命令如vi first.sh
step2:敲打你要写的程序,如
step3:写完之后,按ESC键,再按shift+:(冒号),输入wq,再按enter键,就退出编辑页面了
step4:运行程序,写完后,输入命令 bash first.bash
step5:如果代码出错,可再输入命令vi first.sh,进行修改