logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Linux Comments

  • Question
  • What command is used to query for a specific package with RPM?


  • Options
  • A. rpm -q
  • B. rpm -a
  • C. rpm -d
  • D. rpm -1
  • E. None of the above

  • Correct Answer
  • rpm -q 


  • Linux problems


    Search Results


    • 1. Where can system and mail logs be found in Ret Hat Linux?

    • Options
    • A. /var/log
    • B. /etc/log
    • C. /mail
    • D. All of the above
    • E. None of the above
    • Discuss
    • 2. RPM

    • Options
    • A. stands for Red Hat Package Manager
    • B. is used to install, uninstall, and manage packages
    • C. is used to keep track of the users
    • D. assigns a dynamic IP address
    • E. None of the above
    • Discuss
    • 3. What command is used to set user and group quotas?

    • Options
    • A. /sbin/usrquota
    • B. /sbin/edquota
    • C. /sbin/quotaon
    • D. /sbin/quota
    • E. None of the above
    • Discuss
    • 4. How many extended partitions can exist on one drive?

    • Options
    • A. 16
    • B. 4
    • C. 2
    • D. 1
    • E. None of the above
    • Discuss
    • 5. LILO

    • Options
    • A. stands for Linux loader
    • B. is the Linux boot loader
    • C. is a tool used to boot the Kernel on x86 hardware
    • D. All of the above
    • E. None of the above
    • Discuss
    • 6. The location for subdirectories for local programs and executables for user and administrative commands, is:

    • Options
    • A. /usr
    • B. /tmp
    • C. /opt
    • D. /mnt
    • E. None of the above
    • Discuss
    • 7. Which of the following is not a filter command?

    • Options
    • A. sort
    • B. wc
    • C. grep
    • D. cat
    • E. None of the above
    • Discuss
    • 8. Which of the following tool is used to partition your hard drive?

    • Options
    • A. mkfs
    • B. fdisk
    • C. fsck
    • D. mount
    • E. None of the above
    • Discuss
    • 9. What command is used to remove a file?

    • Options
    • A. del
    • B. mv
    • C. rm
    • D. remove
    • E. None of the above
    • Discuss
    • 10. What command is used to count the number of files in the current directory by using pipes?

    • Options
    • A. ls | ws - c
    • B. ls | wc - w
    • C. ls | wc - l
    • D. ls | wc
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment