How can I inspect
ftpd(the regular Linux FTP server's) source code on my machine?
I'm using Debian 9. Unfortunately I can't figure out which exactly implementation has the package ftpd which I previously installed through
apt install ftpd.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Since you’re using Debian, if your repositories are set up correctly (and they are by default),
apt-get source ftpd
will download and extract the source code for your
ftpd package in a sub-directory of the current directory — on Debian 9, that will be
This works for any package downloaded from the Debian repositories, as long as the corresponding
deb-src entries are present in your repository configuration.