mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
12 lines
224 B
Plaintext
12 lines
224 B
Plaintext
# Change file owner
|
|
chown user file
|
|
|
|
# Change file owner and group
|
|
chown user:group file
|
|
|
|
# Change owner recursively
|
|
chown -R user directory
|
|
|
|
# Change ownership to match another file
|
|
chown --reference=/path/to/ref_file file
|