chmod directory recursive bash code example Example: chmod recursive -R, --recursive chmod -R 755 /path/to/directory