Ch6 Finding Files Exam

  1. 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
  2. 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
  3. Which option to the find command will search by name using a case-sensitive match?

    • -name
    • -cmin
    • -inum
    • -mmin
  4. 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
  5. What directory is used as a temporary mount point?

    • /tmpmnt
    • /etc
    • /mnt
    • /xbin
  6. Which directory is used to store files representing attached devices?

    • /
    • /mnt
    • /dev
    • /tmp
  7. The _____ command will search for files using a database of all files, which is generated on demand or scheduled.

    • updatedb
    • search
    • locate
    • find
  8. The _____ command will search for files by searching the filesystem in real-time.

    • find
    • updatedb
    • locate
    • search
  9. Which option to the locate command will have the command perform case-insensitive searches?

    • -s
    • -g
    • -l
    • -i
  10. Which option to the find command will search by user owner?

    • -person
    • -owner
    • -uowner
    • -user
  11. Which option to the find command will search by file type?

    • -fstype
    • -type
    • -file
    • -ftype
  12. Which option to the find command will display a long listing of matching files?

    • -ls
    • -print
    • -ok
    • -exec
  13. Which option to the find command will execute a command on each matching file without prompting the user?

    • -ls
    • -ok
    • -exec
    • -print
  14. Which option to the find command will prompt the user to execute a command on each matching file?

    • -ok
    • -ls
    • -exec
    • -print
  15. Which option to the find command will search by name using a case-insensitive match?

    • -inum
    • -insen
    • -iname
    • -i
  16. Which directory represents the root of the filesystem hierarchy?

    • /
    • /etc
    • /root
    • /var
  17. Which directory is used to store user home directories?

    • /tmp
    • /homedir
    • /usr
    • /home
  18. Which directory is used to store the kernel?

    • /etc
    • /sys
    • /
    • /boot
  19. Which directory is used to store temporary files?

    • /tmp
    • /
    • /sysfs
    • /etc
  20. Which directory is used to store essential libraries?

    • /usr
    • /lib
    • /var
    • /bin
  21. Which directory is used to store configuration files specific to the host?

    • /var
    • /etc
    • /boot
    • /
  22. Which directory is used for the home directory of the root user?

    • /root
    • /var
    • /
    • /home
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments