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

绝对路径  

/xxx/xxx/something.sh

/xxx/xxx/executable

 

相对路径

./something.sh

./executable

 

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

something.bat(cmd)

executable.exe(com)

 

posted @ 2017-09-15 13:41  任国强  阅读(4942)  评论(0编辑  收藏  举报