Lesson 8 Quiz Flashcards
Select ALL statements that are TRUE about the mount command.
a) Use the mount command by itself to display the mounted filesystems.
b) Use the mount command to umount existing filesystems.
c) Use the mount command to mount new filesystems.
d) Use the mount command to display a list of users who are mounted on the system.
a) Use the mount command by itself to display the mounted filesystems.
c) Use the mount command to mount new filesystems.
Match the character to the Linux file type
Ordinary File a) -
Block Device File b) d
Symbollic Link c) l (letter L)
FIFO (also called a named pipe) d) b
Directory e) c
Character Special File f) s
Socket g) p
Ordinary File a) -
Block Device File d) b
Symbollic Link c) l (letter L)
FIFO (also called a named pipe) g) p
Directory b) d
Character Special File e) c
Socket f) s
You execute the following command:
find /etc > /dev/null 2>&1
What output do you see on the screen?
a) No output is shown.
b) A list of files with permissions in /etc
c) A list of files in /etc
d) A list of normal files in /etc
a) No output is shown.
From the list below, select TWO files and/or directories that are used for systemwide interactive shell initialization scripts.
a) /etc/profile.d
b) ~/.bash_profile
c) ~/.bashrc
d) /etc/profile
a) /etc/profile.d
d) /etc/profile
Select ALL that are Linux Filesystems.
a) ext2
b) ext4
c) ext3
d) proc
a) ext2
b) ext4
c) ext3
d) proc
This contains an individual user’s login shell initialization script.
a) /var/usrs/bash_login
b) ~/loginscript
c) /etc/bash_profile
d) ~/.bash_profile
d) ~/.bash_profile
Select ALL that are TRUE as they relate to /etc/inittab.
a) /etc/inittab is known as the Initialization Table.
b) /etc/inittab is the initialization troubleshooting table
c) On some Linux distros, e.g. RHEL, the /etc/initab sets the default run level.
d) /etc/inittab is a symbolic link to /var/log/inittab
a) /etc/inittab is known as the Initialization Table.
c) On some Linux distros, e.g. RHEL, the /etc/initab sets the default run level.
Hard Links are different file names that point to different inodes.
True
False
False
This is a pseudo filesystem for reading/writing info direct from/to the kernel.
a) /kernel
b) /dev/kernel
c) /proc
d) /etc/proc
c) /proc
This directory contains preallocated disk blocks for use with fsck to store pointers to missing files
a) lost+found
b) lost
c) Answer not listed
d) found
a) lost+found
Select ALL statements that are TRUE about Linux swap.
a) Swap is a command that swaps processes from running as high priority to low priority.
b) Swap is used by the virtual memory subsystem.
c) When RAM runs low, the kernel moves memory to swap space.
d) Swap allows you to swap out hard disks without shutting down the system.
b) Swap is used by the virtual memory subsystem.
c) When RAM runs low, the kernel moves memory to swap space.
A ____ is an internal data structure stored on disk that describes info about the file.
a) symbolic link
b) hard link
c) block
d) inode
d) inode
This is the location of system log files.
a) /proc/log
b) /dev/log
c) Answer not given.
d) /etc/log
c) Answer not given.
/var/log is where log files are located
Contains an individual user’s interactive non-login shell script, i.e., this executes each time a new shell is spawned.
a) Answer not listed.
b) /var/usr/bash_profile
c) ~/.bashrc
d) /etc/bashrc
c) ~/.bashrc
Which of the following statements are TRUE as they relate to /etc/nsswitch.conf?
a) /etc/nsswitch.conf is the Next Step Switch configuration file.
b) /etc/nsswitch.conf has a listing of IP addresses mapped to host names.
c) /etc/nsswitch.conf specifies whether a system uses NIS, DNS, local files, or some combination as the source of certain information.
d) /etc/nsswitch.conf is the Network Service Switch configuration file.
c) /etc/nsswitch.conf specifies whether a system uses NIS, DNS, local files, or some combination as the source of certain information.
d) /etc/nsswitch.conf is the Network Service Switch configuration file.