Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Login

Register Now

Welcome to All Test Answers

Linux – Quiz 7

  • Question 1

1 out of 1 points

What is the chmod command used for?
Selected Answer:  

To manipulate permission bits

Answers: To modify a file’s ownership
To obtain root privileges
 

To manipulate permission bits

To find manual pages
  • Question 2

1 out of 1 points

What are the numeric equivalents of the alphabetic permission bits?
Selected Answer:  

r has value 4, w has value 2, and x has value 1.

Answers: r has value 3, w has value 2, and x has value 1.
 

r has value 4, w has value 2, and x has value 1.

r has value 5, w has value 3, and x has value 1.
r has value 1, w has value 2, and x has value 3.
  • Question 3

1 out of 1 points

What are the levels of access control on UNIX systems? Please select all the correct answers.
Selected Answers:  

User

 

Group

 

Other

Answers:  

User

Administrator
 

Group

 

Other

  • Question 4

1 out of 1 points

A user enter ls -l on the command line. Which of the following results would indicate a device file?
Selected Answer:  

crw-rw—-  1 root root       10, 231 Mar 10 14:55 snapshot

Answers:  

crw-rw—-  1 root root       10, 231 Mar 10 14:55 snapshot

drwx——  2 root root         4096 Feb 17 21:03 snapshot
lrwxrwxrwx.   1 root root     14 Dec 21  2011 snapshot -> snpsht
-rw-r–r–. 1 root root 47649 Dec 20  2011 snapshot
  • Question 5

1 out of 1 points

What are the permission types a UNIX file can be assigned? Please select all the correct answers.
 

Read

 

Write

 

Execute

Answers: User
 

Read

 

Write

Group
 

Execute

  • Question 6

1 out of 1 points

What command is used to modify a file’s owner?
Selected Answer:  

chown

Answers:  

chown

touch
chmod
ls
  • Question 7

1 out of 1 points

What is the ls command used for?
Selected Answer:  

To list information about the files in a directory

Answers: To change the group of a file
To change the ownership of a file
To list information about a file’s contents
 

To list information about the files in a directory

  • Question 8

1 out of 1 points

A user enters ls -l on the command line. What does the letter d in the first column of the results indicate?
Selected Answer:  

The listed item is a directory

Answers: The listed item can not be deleted
The listed item can be deleted by the group
 

The listed item is a directory

The listed item can be deleted by the user
  • Question 9

1 out of 1 points

How are the SUID/SGID text permission bits indicated?
Selected Answer:  

s

Answers: c
t
p
 

s

  • Question 10

1 out of 1 points

How is the “sticky bit” permission bit indicated?
Selected Answer:  

t

Answers: s
c
p
 

t

About

Leave a reply

Captcha Click on image to update the captcha .

error: Content is protected !!