How to check port used by vsftpd

It’s module 3, milestone 1.
Server is running, if I run netstat -an command, then I see a huge list.
One of the entry here is : tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
but which command to run, If i want to check which port is used by vsftpd?
If i run
netstat -an | grep vsftpd
then I get nothing.

Hey The port can only be displayed in Netstat, if a client and server are connected.
For your particular question , if you are searching for a particular process like vsftpd please type the following command.
ps -ef | grep vsftpd

1 Like