linux open permission for text file code example Example: change permissions for specific file types linux find . -name "*.sh" -exec chmod +x {} \;