关于如何使用Linux模拟器编写.sh程序

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,进行修改

猜你喜欢

转载自blog.csdn.net/qq_38452951/article/details/90698988