Skip to content

Instantly share code, notes, and snippets.

@allysonsouza
Created October 27, 2022 16:32
Show Gist options
  • Save allysonsouza/a8cd16d5a1a55fd6ee254133a39a2d13 to your computer and use it in GitHub Desktop.
Save allysonsouza/a8cd16d5a1a55fd6ee254133a39a2d13 to your computer and use it in GitHub Desktop.
[Bash Commands] #Linux #Ubuntu #Terminal #Bash

Bash Commands

Permissions

Change permissions of all directories

find {/var/www/...} -type d -exec chmod 755 {} \;

Change permissions of all files

find {/var/www/...} -type f -exec chmod 644 {} \;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment