4.8.3.4. ...changing a file's owner and group at the same time?
The chown command permits you to specify a group after the username, separated by a colon. To make /tmp/input owned by the user barbara and the group smilies , use:
# chown barbara:smilies /tmp/input