Information Technology Reference
In-Depth Information
Question 5
Which of the following is the mkdir command-line argument that creates parent
directories as needed?
A.
-P
B.
-c
C.
-p
D.
-m
The correct answer is C. None of the other answers is a valid command-line
argument for the mkdir command.
Question 6
Given this list of files— abc , abc123 , and 123abc —which of the following
metacharacter expressions will select one or more of these files? [Select all that
apply.]
A.
abc*
B.
?*123
C.
*2*
D.
??2*
Answers A, B, and C are correct. Answer A, abc* , will select abc and abc123 .
Answer B, ?*123 , will select abc123 . Answer C, *2* , will select abc123 and
123abc . Answer D, ??2* , won't select any of the specified files because 2 does
not occur as the third character.
Question 7
Match the pseudo-file system with its use.
A. CACHEFS
1. Temporary files
B. PROCFS
2. Alternative pathnames
C. TMPFS
3. Process information
D. LOFS
4. Local caching of data
A matches 4; B matches 3; C matches 1, and D matches 2. CACHEFS is used for
locally caching data from remote file systems. PROCFS provides status and other
information for active processes. TMPFS provides a storage area for fast access to
temporary files. LOFS provides access to existing data using alternative pathnames.
Search WWH ::




Custom Search