Linux+ Networking Chapter 5

20 Questions  I  By Ajeff
Please take the quiz to rate it.

Linux Networking Quizzes & Trivia
Linux+ Networking Chapter 5

  
Changes are done, please start the quiz.


Questions and Answers

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
1.  The command chmod 317 file1 would produce which of the following lines in the ls command?
A.
B.
C.
D.
2.  What does the mv command do? (Choose all that apply.)
A.
B.
C.
D.
3.  After typing the command umask 731, the permissions on all subsequently created files and directories will be effected. In this case, what will the permissions on all new files be?
A.
B.
C.
D.
4.  Which command do you use to rename files and directories?
A.
B.
C.
D.
5.  The default permissions given by the system prior to analyzing the umask are ___________for directories, and __________ for files.
A.
B.
C.
D.
E.
6.  A symbolic link is also known as a soft link and is depicted by an @ appearing at the beginning of the filename when viewed using the ls –l command. True or False?
A.
B.
7.  When you change the data in a file that is hard-linked to three others, __________.
A.
B.
C.
D.
8.  A user utilizes the chgrp command to give ownership of a file to another user. What must the user do to regain ownership of the file?
A.
B.
C.
D.
9.  Which of the following commands will change the user ownership and group ownership of file1 to user1 and root respectively?
A.
B.
C.
D.
E.
10.  What are the three standard Linux permissions?
A.
B.
C.
D.
11.  What must a user do to run cp or mv interactively and be asked if she wants to overwrite an existing file?
A.
B.
C.
D.
E.
12.  What does the /var directory contain?
A.
B.
C.
D.
E.
13.  Given the following output from the ls command, how many files are linked with file1? drwxr-xr-x    3 root     root         4096 Apr  8 07:12 Desktop -rw-r--r--    3 root     root          282 Apr 29 22:06 file1 -rw-r--r--    1 root     root          282 Apr 29 22:06 file2 -rw-r--r--    4 root     root          282 Apr 29 22:06 file3 -rw-r--r--    2 root     root          282 Apr 29 22:06 file4 -rw-r--r--    1 root     root          282 Apr 29 22:06 file5 -rw-r--r--    1 user1    sys           282 Apr 29 22:06 file6
A.
B.
C.
D.
14. 
  1. The which command _________________?
A.
B.
C.
D.
15.  What was created to define a standard directory structure and common file location for Linux?
A.
B.
C.
D.
16.  When applied to a directory, the SGID special permission____________________.
A.
B.
C.
D.
17.  A file has the following permissions r----x-w-. The command chmod 143 would have the same effect as the command  _______________. (Choose all that apply.)
A.
B.
C.
D.
E.
18.  After typing the ls –F command, you see the following line in the output:  -rw-r-xr--    1 user1    root        0 Apr 29 15:40 file1  What does this mean?
A.
B.
C.
D.
19.  There is no real difference between the “S” and “s” special permissions when displayed using the ls –l command. One just means it is on a file and the other that it is on a directory. True or False?
A.
B.
20.  Hard links need to reside on the same filesystem as the target, whereas symbolic links need not be on the same filesystem as the target. True or False?
A.
B.
Back to top

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz
We have sent an email with your new password.