在Linux中执行脚本常用的是sh或者直接输入脚本名称即可。

sh shell脚本.sh

# 或者

shell脚本.sh

在Windows中类似,使用start或者直接输入脚本名称。

start bat脚本.bat

:: 或者

bat脚本.bat