Intermediate Linux & Shell Scripting
Q58 / 100

What does the command "chown user:group file.txt" do?

Correct! Well done.

Incorrect.

The correct answer is A) It changes both the owning user and group of file.txt to the specified user and group

A

Correct Answer

It changes both the owning user and group of file.txt to the specified user and group

Explanation

"chown" changes the ownership of a file or directory; specifying "user:group" updates both the owning user and the owning group in one command.

Progress
58/100