方法1:
bash /path/to/script-name 或 /bin/bash /path/to/script-name (推荐)
方法2:
/path/to/script-name 或 ./script-name
方法3:
source script-name 或 . script-name
计算机网络/计算机科学与应用/系统/运维/开发
方法1:
bash /path/to/script-name 或 /bin/bash /path/to/script-name (推荐)
方法2:
/path/to/script-name 或 ./script-name
方法3:
source script-name 或 . script-name
凡人做一事,便须全副精神注在此一事,首尾不懈,不可见异思迁,做这样,想那样,坐这山,望那山。人而无恒,终身一无所成。——曾国藩《曾国藩家书》