linux shell脚本 可以全局使用

将脚本方到 /bin 下面

cp    /XXX/XXX.sh    /bin/YYY.sh

然后加上运行权限

chmod u+x /bin/YYY.sh

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_44578029/article/details/111630251