touch test.sh
vi test.sh
敲击esc, 然后输入 :wq ,回车退出
当然默认就是可执行的
chmod +x test.sh
(1)
./test.sh
(2)
sh test.sh
rm test.sh
京公网安备 11010502049817号