Linux+ Networking Chapter 5

20 Questions  I  By Ajeff on June 16, 2009
Linux+ Networking Chapter 5

  
Changes are done, please start the quiz.


Question Excerpt

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
1.  When applied to a directory, the SGID special permission____________________.
A.
B.
C.
D.
2.  What was created to define a standard directory structure and common file location for Linux?
A.
B.
C.
D.
3.  What are the three standard Linux permissions?
A.
B.
C.
D.
4.  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.
5.  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.
6.  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.
7.  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.
8.  When you change the data in a file that is hard-linked to three others, __________.
A.
B.
C.
D.
9.  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.
10.  The default permissions given by the system prior to analyzing the umask are ___________for directories, and __________ for files.
A.
B.
C.
D.
E.
11.  Which command do you use to rename files and directories?
A.
B.
C.
D.
12.  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.
13.  What does the /var directory contain?
A.
B.
C.
D.
E.
14.  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.
15.  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.
16.  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.
17. 
  1. The which command _________________?
A.
B.
C.
D.
18.  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.
19.  The command chmod 317 file1 would produce which of the following lines in the ls command?
A.
B.
C.
D.
20.  What does the mv command do? (Choose all that apply.)
A.
B.
C.
D.
Back to top


to post comments.

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz