Ch6 Finding Files Exam
-
Which of the following are advantages of using the
locate
command?- It is quicker than the
find
command - It can search by file attribute types
- Its results are always the most up to date
- It pages the results
- It is quicker than the
-
Which of the following are advantages of using the
find
command?(choose two)
- It can search by file attribute types
- It is quicker than the locate command
- It pages the results
- Its results are always the most up-to-date
-
Which option to the find command will search by name using a case-sensitive match?
- -name
- -cmin
- -inum
- -mmin
-
The FHS sets which standard?
- Which filesystem types should be used
- Which partitions should be created
- Which directories should be used to hold specific files
- Which services should be installed
-
What directory is used as a temporary mount point?
- /tmpmnt
- /etc
- /mnt
- /xbin
-
Which directory is used to store files representing attached devices?
- /
- /mnt
- /dev
- /tmp
-
The _____ command will search for files using a database of all files, which is generated on demand or scheduled.
updatedb
search
locate
find
-
The _____ command will search for files by searching the filesystem in real-time.
find
updatedb
locate
search
-
Which option to the
locate
command will have the command perform case-insensitive searches?- -s
- -g
- -l
- -i
-
Which option to the
find
command will search by user owner?- -person
- -owner
- -uowner
- -user
-
Which option to the
find
command will search by file type?- -fstype
- -type
- -file
- -ftype
-
Which option to the
find
command will display a long listing of matching files?- -ls
- -ok
- -exec
-
Which option to the
find
command will execute a command on each matching file without prompting the user?- -ls
- -ok
- -exec
-
Which option to the
find
command will prompt the user to execute a command on each matching file?- -ok
- -ls
- -exec
-
Which option to the
find
command will search by name using a case-insensitive match?- -inum
- -insen
- -iname
- -i
-
Which directory represents the root of the filesystem hierarchy?
- /
- /etc
- /root
- /var
-
Which directory is used to store user home directories?
- /tmp
- /homedir
- /usr
- /home
-
Which directory is used to store the kernel?
- /etc
- /sys
- /
- /boot
-
Which directory is used to store temporary files?
- /tmp
- /
- /sysfs
- /etc
-
Which directory is used to store essential libraries?
- /usr
- /lib
- /var
- /bin
-
Which directory is used to store configuration files specific to the host?
- /var
- /etc
- /boot
- /
-
Which directory is used for the home directory of the root user?
- /root
- /var
- /
- /home
Subscribe
0 Comments
Newest