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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - VueJS2 and the Window Object - how to use? -