Chown Exercises

chown Practice

Create a new file called chown.exercises.

Question: What are the default owner and group for the new file?

CLICK FOR ANSWER

Bonus Question: What is the command to view the file owner and group?

CLICK FOR ANSWER

Change the chown.exercises file owner to the root user.

Question: What was the command?

CLICK FOR ANSWER

Change the chown.exercises file group to the root group.

Question: What was the command?

CLICK FOR ANSWER

Change the chown.exercises file owner to student and group to student.

Question: What wast he command?

CLICK FOR ANSWER
Note

After completing the exercises feel free to delete the chown.exercises file.