mirror of https://github.com/cheat/cheat.git
Merge branch 'chown-chgrp' of https://github.com/gbremer/cheat into gbremer-chown-chgrp
* 'chown-chgrp' of https://github.com/gbremer/cheat: Adding reference example to chown
This commit is contained in:
commit
f52c0d59ba
|
@ -6,3 +6,6 @@ chown user:group file
|
||||||
|
|
||||||
# Change owner recursively
|
# Change owner recursively
|
||||||
chown -R user directory
|
chown -R user directory
|
||||||
|
|
||||||
|
# Change ownership to match another file
|
||||||
|
chown --reference=/path/to/ref_file file
|
Loading…
Reference in New Issue