chown user:group file

Category: Administration

chown user:group file

Change both owner and group of a file

Changes both the owner and the group of a file in one command. The format is user:group.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.