linux - What does "chown nginx:nginx * -R" do? -


i understand command chown nginx:nginx -r does.

my question regarding star * wildcard.

so i'm asking what difference between these 3 commands:

  1. chown nginx:nginx * -r
  2. chown nginx:nginx . -r
  3. chown nginx:nginx .* -r

this 1 changes group/owner permissions on within current working directory, not current working directory itself:

chown nginx:nginx * -r 

the next 1 changes permissions on current directory, , in it:

chown nginx:nginx . -r 

the final 1 same thing second:

chown nginx:nginx .* -r 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -