To change the permissions of “example.txt” to allow the owner to read, write, and execute, the group to read and execute, and others to only read, which command should be used?
The chmod 754 example.txt
command sets the permissions of “example.txt” so that the owner has read, write, and execute permissions (7), the group has read and execute permissions (5), and others have read-only permissions (4).
The chmod 754 example.txt
command sets the permissions of “example.txt” so that the owner has read, write, and execute permissions (7), the group has read and execute permissions (5), and others have read-only permissions (4).