RHEL Linux - Red Hat System Administration Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the RHEL Linux - Red Hat System Administration Exam. Enhance your knowledge with flashcards and multiple-choice questions, complete with hints and explanations. Prepare for your certification!

Practice this question and more.


What command is used to perform a keyword search of man pages?

  1. man -k keyword

  2. man -s keyword

  3. man keyword

  4. man keyword search

The correct answer is: man -k keyword

The command used to perform a keyword search of man pages is formulated as "man -k keyword". This command utilizes the "man" utility, which stands for manual, to provide a way of searching through the manual pages for occurrences of the specified keyword. When you append the -k option, it activates a search that looks for the keyword in the short descriptions of man pages, offering a quick way to identify relevant entries without knowing the exact name of the command or function you're seeking. This functionality is particularly helpful for users who may not remember the exact name of the command they need or are exploring available commands related to a specific topic. Upon executing the command, it will return a list of commands related to that keyword, making it easier to navigate through the vast amount of information contained in man pages.