"After giving this command, the new owner of a file called
somefile will be the user username. The file's group owner will not
change. Instead of a user name, you can also give the user's
numeric ID here if you want.
"You can also set the file's group at the same time. If the user
name is followed by a colon and a group name, the file's group will
be changed as well.
$ chown username:usergroup somefile After giving this command,
somefile's new owner would be user username and the group
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.