chmod 777chmod 777 -R .* ..[!.]* Bash has this command. shopt -s dotglob to also include hidden files in commands (shopt -u dotglob to disable that behaviour) if you want to stick toTo apply chmod 777 recursively to a folder and all its contents, you can use the -R