Module 4 Live Virtual Machine Labs 1-8 Flashcards
lab 4-1
Which of the following command is used to delete a file?
rm
To create a subdirectory within a directory, which of the following command should be used?
mkdir myfolder/mydocs
Which of the following parameter should be used with the rm command to remove a directory?
-r
Which of the following special characters are used as wildcards? [Choose all that apply.]
*
?
[ ]
~
To copy a directory and the files contained in it to another directory, which of the following parameter should be used with the cp command?
-r
lab 4-2
Which type of link is a pointer to the source file?
Symbolic link
Which type of link is another directory entry for the source file and carries those same properties, such as file permissions, of the source file?
Hard link
Which type of link can only exist on the local system?
Hard link
Which command is used to create links?
ln
Which parameter is used to create a symbolic link rather than a hard link with the ln command?
-s
lab 4-3
Which of the following directories are contained within the root directory? [Choose all that apply.]
boot
etc
home
Which of the following is a separate partition that moves items from computer memory to its hard drive?
swap
Which of the following two directories contain files that are static and cannot be changed by a user? [Choose two.]
/etc
/boot
Which of the following directories are unshareable? [Choose all that apply.]
/var/log
/proc
Which command works only when you are in the root directory?
find