mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
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
1 changed files with 3 additions and 0 deletions
|
@ -6,3 +6,6 @@ chown user:group file
|
|||
|
||||
# Change owner recursively
|
||||
chown -R user directory
|
||||
|
||||
# Change ownership to match another file
|
||||
chown --reference=/path/to/ref_file file
|
Loading…
Reference in a new issue