Linux下运行Shell脚本或者可执行文件Executable方法

绝对路径  

/xxx/xxx/something.sh

/xxx/xxx/executable

相对路径

./something.sh

./executable

注意:前边得加./可不是像windows(dos)下那样直接输入:

something.bat(cmd)

executable.exe(com)

原文地址:https://www.cnblogs.com/rgqancy/p/7526004.html