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 101-500 topic 1 question 23 discussion

Actual exam question from LPI's 101-500
Question #: 23
Topic #: 1
[All 101-500 Questions]

A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?

  • A. apt-get search /etc/debian_version
  • B. apt -r /etc/debian_version
  • C. find /etc/debian_version -dpkg
  • D. dpkg -S /etc/debian_version
  • E. apt-file /etc/debian_version
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
linuz
Highly Voted 3 years, 10 months ago
The switch is incorrect. The correct command should be dpkg -S /etc/debian_version Giving the output: base-files: /etc/debian_version
upvoted 21 times
cast7omadrid1
3 years, 10 months ago
The problem is that instead of putting the -S or similar, it says "" . It's a mistake all over the page.
upvoted 8 times
CuriousLinuxCat
2 years, 9 months ago
Whoever comes across this message, know that this website uses: ("") for a hyphen (-) and some other characters that probably has been encoded wrong that makes ("), (`) and (-) look wrong.
upvoted 10 times
...
...
...
Ninymo
Most Recent 1 month ago
Answer: D
upvoted 1 times
...
Lazylinux
2 years ago
Selected Answer: D
dpkg -S followed by whatever you want to search for
upvoted 3 times
...
jegga
2 years, 11 months ago
option D is close to the answer. This should be the correct answer: dpkg-query -S /etc/debian_version
upvoted 2 times
...
McLaba
3 years ago
no one is correct
upvoted 1 times
...
penguinx64
3 years, 2 months ago
-S, --search filename-search-pattern... Search for a filename from installed packages.
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 ...