1
0
Fork 0
mirror of https://github.com/Erreur32/cheat.git synced 2025-01-13 16:22:03 +01:00
cheat-fork-echo/cheatsheets/chown

11 lines
223 B
Text
Raw Normal View History

2013-09-11 05:33:55 +02:00
# Change file owner
chown user file
# Change file owner and group
chown user:group file
# Change owner recursively
chown -R user directory
2013-09-21 19:13:16 +02:00
# Change ownership to match another file
chown --reference=/path/to/ref_file file