Ch 6 Linux Filesystem Quiz Flashcards
You are at the Linux shell and you want to make a new directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)
mkdir
Select ALL items that are TRUE related to Linux shared library files.
a) /lib contains shared libraries in 32-bit format.
b) Linux shared libraries are similar to DLLs (Dynamic Link Libraries) used in Windows
c) /lib64 contains shared libraries in 64-bit format.
d) Shared libraries are similar to EXEs (executable files) used in Windows.
a) /lib contains shared libraries in 32-bit format.
b) Linux shared libraries are similar to DLLs (Dynamic Link Libraries) used in Windows
c) /lib64 contains shared libraries in 64-bit format.
/var holds variable length files.
True
False
True
You are at the Linux shell and you want to display the manual page to see documentation about a given command. Enter the NAME of the command. (Just the command name, without any command-line arguments.)
man
Select ALL items that are TRUE releated to the Linux Filesystem.
a) The /bin directory contains often used binary executable files.
b) Linux uses a hierarchical filesystem is in the shape of a tree.
c) The root of the filesystem is /.
d) At every node in the tree is either a (1) file or a (2) directory.
a) The /bin directory contains often used binary executable files.
b) Linux uses a hierarchical filesystem is in the shape of a tree.
c) The root of the filesystem is /.
d) At every node in the tree is either a (1) file or a (2) directory.
Select ALL items below that are TRUE related to Linux Filenames.
a) Filenames are CASE SENSITIVE
b) Filenames can be up to 64 characters long.
c) Filenames can be up to 255 characters long.
d) Filenames are NOT CASE SENSITIVE
a) Filenames are CASE SENSITIVE
c) Filenames can be up to 255 characters long.
You are at the Linux shell and you want to copy a directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)
cp
You are at the Linux shell and you want to change to another directory. Enter the NAME of the command. (Just the command name, without any command-line arguments.)
cd
Enter the absolute pathname for the directory where temporarly files are stored. For example, if the answer is /answer, then enter /answer.
/tmp
Select ALL items that are TRUE related to /proc.
a) /proc files are statically generated once by the kernel at boot-up.
b) /proc contains live system info as reported by the kernel.
c) /proc contains special configuration files
d) /proc looks like files and act like files, but the contents are dynamically generated when accessed.
b) /proc contains live system info as reported by the kernel.
d) /proc looks like files and act like files, but the contents are dynamically generated when accessed.
Select the home directory for the root user.
a) Answer not given.
b) /home/root
c) /root
d) /
c) /root
From the Linux shell, you want to recursively copy a directory named source-dir to destination named dest-dir. Select the command.
a) cp source-dir dest-dir
b) cp -r source-dir dest-dir
c) cp dest-dir source-dir
d) cp -r dest-dir source-dir
b) cp -r source-dir dest-dir
Enter the absolute pahtname of the directory that contains essential binary commands that are always available. For example, if the answer was /answer then you should enter /answer for your answer.
/bin
The /home contains a directory for each username on the system.
True
False
True
Enter the absolute pahtname of the directory that contains files used by the boot loader. For example, if the answer was /answer then you should enter /answer for your answer.
/boot