Debian package management · Question 3 of 12

Which command finds out which installed package the file /bin/ls belongs to?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D dpkg -S /bin/ls

Explanation

dpkg -S (search) searches the file lists of all installed packages for a path or pattern.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications