# 11.10 为指定类型文件设置可执行权限 1 find . -name 'commit-msg' -type f -exec chmod +x {} \; 2 find . -name '*.sh' -type f -exec chmod +x {} \;