Linux CLI - File Permissions and Ownership
Which command correctly changes the owner of
file.txt to user alice without modifying the group?file.txt to user alice without modifying the group?chown user[:group] file changes owner and optionally group.chown alice file.txt changes only the owner to alice, leaving group unchanged.chown alice: file.txt sets group to empty (invalid), chown :alice changes only group, chown alice:alice changes both owner and group.ls -l file.txt owner [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions