Welcome to Team5 Unix Live
Browse Chapter Contents
Chapter 1: What is Linux?
Lesson 1
Lesson 2
Lesson 2
Quiz
Chapter 2: Linux Commands
Lesson 1
Quiz
Chapter 3: File Manipulation
Lesson 1
Quiz
Chapter 4: File Permissions
Lesson 1
Quiz
Chapter 5: Changing Permissions
Lesson 1
Quiz
Chapter 6: Text Editor
Lesson 1
Quiz
Your Profile
You aren't logged in
Log In
Quizzes
View Quizzes
Quiz 1: Linux Basics
Quiz 2: Simple Commands
Quiz 3: File Manipulation
Quiz 4: File Permissions
Quiz 5: Changing Permissions
Quiz 6: Using Vim
Refrences
Helpful Refrences
Command Lookup
Chapter 5 Quiz
Quiz 5
Question 1 : Which command is used to change a file or directory’s permission
chmod
chgrp
chown
change
Question 2 : Why do you have to put sudo in front of the chown command?
To make the command run faster.
To get superuser privileges to change file permissions.
It is part of the chown command. chown would not work without it.
To make the command look nicer.
Question 3 : Which command is used to change the permissions to -rwxrw-rw-?
chmod 766
chmod 777
chmod 664
chmod 676
Question 4 : Which command is used to change the permissions to -rwxrw-r--?
chgrp 764
chmod 674
chmod 764
chgrp 674
Question 5 : Which command is used to change the permissions to -rw-r--r--?
chmod 544
chmod 644
chmod 655
chmod 766
Question 6 : Which command is used to change the permissions to -r-xrw---x?
chmod 764
chmod 644
chmod 471
chmod 561
Question 7 : Which command is used to change the user group ownership of a file?
chgrp
chmod
chown
change
Question 8 : Which command is used to change ownership of a file/directory?
chgrp
chmod
chown
change
Question 9 : Why should you not set file permissions to 777?
It does not grant all permissions to users.
Unwanted users can change your files.
You should set your file permissions to 777.
The owner would not be able to modify the file.