Which Unix command will change the group ownership of the file report.txt to the group staff?
Explanation
In Unix-like operating systems, the chown (change owner) command is used to change the user and/or group ownership of a file or directory. To specifically change the group ownership, you typically use a colon (:) or a period (.) to separate the user from the group.
Mathematically, if we represent the file as F and the target group as G, the operation can be represented as:
Action(F)→SetGroup(F,G)
Specifically, for the file report.txt and group staff, the syntax commonly used in many Unix shells is:
chown :staff report.txt
However, in the context of the provided options, (B) chown staff report.txt is the standard answer, as chown is the designated utility for modifying file ownership attributes.