LFCS Essential Commands Practice Question
A junior administrator is troubleshooting a server and needs to inspect the manual page for the 'ip' command, but the system is a minimal install where the man pages for that package were not installed. The administrator still wants the short one-line usage summary for 'ip' printed directly to the terminal. Which command should they run?
⚠ Common exam trap
The trap here is assuming that documentation commands such as man or whatis can display usage information even when the corresponding documentation packages were never installed.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ip --help
The utility's own --help option is parsed by the binary itself, so it produces usage information regardless of whether any documentation packages exist on the machine. Because the scenario explicitly describes a minimal install with no man pages, the only reliable way to obtain the short usage summary is to invoke the command with its built-in help flag.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
ip --help
Why this is correct
The --help flag is handled by the utility itself and prints a concise usage summary to standard output, which works even when man pages are absent. It requires no extra packages and exits immediately, making it ideal on a minimal system where documentation was stripped out.
- ✗
info ip
Why it's wrong here
info reads Texinfo documents, which are even less likely to be installed than man pages on a stripped-down system. It also presents an interactive pager-based interface rather than printing a short one-line usage summary directly to the terminal as the scenario requires.
- ✗
whatis ip
Why it's wrong here
whatis queries the man page database and prints only a single descriptive line such as the command's purpose. It does not show the option syntax or usage summary, and it also fails entirely when the man pages for that package have not been installed.
- ✗
man ip
Why it's wrong here
man ip depends on the man page files being present on disk. On a minimal install where documentation packages were deliberately excluded, this returns 'No manual entry for ip' rather than the usage summary, so it fails the stated requirement of getting output with no documentation installed.
Go deeper
Related to this question
About these practice questions
This LFCS question is part of Courseiva's 406-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Linux Foundation exam blueprint
This LFCS practice question is part of Courseiva's free Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LFCS exam.