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:
chown nginx:nginx * -r
chown nginx:nginx . -r
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
Post a Comment