Cause Analysis:
This is because the user does not have permission, which makes it impossible to execute. Use the command chmod to modify the .sh permissions in the directory.
chmod u+x *.sh
# 这里的u 这里指文件所有者
# +x 添加可执行权限
# *.sh表示所有的sh文件。
Cause Analysis:
This is because the user does not have permission, which makes it impossible to execute. Use the command chmod to modify the .sh permissions in the directory.
chmod u+x *.sh
# 这里的u 这里指文件所有者
# +x 添加可执行权限
# *.sh表示所有的sh文件。