Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 201-450 topic 1 question 38 discussion

Actual exam question from LPI's 201-450
Question #: 38
Topic #: 1
[All 201-450 Questions]

Which of the following commands displays the physical path of the kernel module named dummy?

  • A. modprobe ""i dummy
  • B. modinfo ""n dummy
  • C. modpath ""v dummy
  • D. depmod ""n dummy
  • E. modshow ""p dummy
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
glorofarz
Highly Voted 4 years, 1 month ago
B! is correct. tested on both debian and centos. modinfo -n
upvoted 10 times
...
debloid
Most Recent 1 month, 2 weeks ago
Selected Answer: B
modinfo - Show information about a Linux Kernel module
upvoted 1 times
...
rmmichael95
1 year ago
Selected Answer: B
modinfo -n modname displays path to module
upvoted 1 times
...
MaikyCR28
1 year, 5 months ago
ChatGPT says: Option A (modprobe –i dummy) attempts to install the dummy kernel module and the -i option means "ignore install", so it does not display the physical path. Option B (modinfo –n dummy) displays the name of the kernel module, not its physical path. Option D (depmod –n dummy) creates a dependency file for the dummy kernel module, but does not display its physical path. Option E (modshow –p dummy) is not a valid command. Therefore, the correct answer is C (modpath –v dummy).
upvoted 1 times
...
serlan
1 year, 9 months ago
Selected Answer: B
B: modinfo -n
upvoted 2 times
...
Armina
2 years, 7 months ago
Selected Answer: B
B, is correct, I explained in separate comment ########## A, is wrong! Because “modprobe-i” has another functionality as we see in its man-page as follows: -i --ignore-install --ignore-remove This option causes modprobe to ignore install and remove commands in the configuration file (if any) for the module specified on the command line (any dependent modules are still subject to commands set for them in the configuration file). See modprobe.conf(5). https://linux.die.net/man/8/modprobe ########## C, is wrong! Because “modpath” - change global search path for dynamically loadable kernel modules https://www.unix.com/man-page/hpux/2/modpath/ ########## D, is wrong! Because “depmod” with this option “-n --dry-run” sends the resulting modules.dep and the various map files to standard output rather than writing them into the module directory. https://linux.die.net/man/8/depmod ########## E, is wrong! “modshow” is not a standard command in standard Linux distributions.
upvoted 2 times
...
Armina
2 years, 7 months ago
Selected Answer: B
B, is correct! because “modinfo” with the option “-n “ provides the information about kernel module and related filename, which has a physical path as well. -a --author, -d --description, -l --license, -p --parameters, -n --filename These are shortcuts for the --field flag's author, description, license, parm and filename arguments, to ease the transition from the old modutils modinfo. Ref.: https://man.archlinux.org/man/modinfo.8.en
upvoted 1 times
...
milan92stankovic
3 years, 7 months ago
B - 100%
upvoted 4 times
...
biggydanny
3 years, 12 months ago
i keep testing all and its B
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...