RHEL Linux Red Hat System Administration 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

To search for the string "recursive" while in a man page, what should you do?

Press q

Press s until you find recursive

Type /recursive and then press enter

To search for the string "recursive" while viewing a man page, the correct action is to type "/recursive" followed by pressing enter. This command initiates a forward search in the current man page for the specified string. In this case, the "/" character is used to denote that a search is being performed, and the text that follows is the string the user intends to find.

When you enter this command, the system will highlight the occurrences of "recursive" within the man page, making it easy to navigate directly to relevant sections discussing that term. This method is standard in many pager utilities, including `man`, which primarily uses `less` as its default pager in modern systems. Once you find the string, you can use the "n" key to move to the next occurrence or "N" to return to the previous one, allowing for efficient navigation.

Other options provided do not facilitate finding the string effectively within a man page. For instance, pressing "q" would quit the man page entirely, not enabling any search function. Repeating "s" would not yield any meaningful results in most contexts, as it is not a search command in this scenario. Pressing "i" does not initiate a search either and is typically irrelevant

Get further explanation with Examzify DeepDiveBeta

Press i

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy