System Management
On a Debian 12 server, an administrator must find out which installed package provided the file /usr/sbin/sshd. Which command does this?
Show the answer
Correct answerA. dpkg -S /usr/sbin/sshd
dpkg -S searches installed packages for the one that owns a given path. rpm -qf is the RPM-family equivalent, but rpm is not the native tool on Debian. dpkg -L does the reverse, listing the files a named package installed.