Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-26-2010, 10:42 AM   #1
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 33
Check if ftp is installed

I found that I have several services running related to ftp

cat /etc/services | grep ftp
ftp-data        20/tcp
ftp             21/tcp
tftp            69/udp
sftp            115/tcp
ftps-data       989/tcp                         # FTP over SSL (data)
ftps            990/tcp
venus-se        2431/udp                        # udp sftp side effect
codasrv-se      2433/udp                        # udp sftp side effect
frox            2121/tcp                        # frox: caching ftp proxy
zope-ftp        8021/tcp                        # zope management by ftp
Is that mean that I have ftp installed on my system?
Old 07-26-2010, 10:52 AM   #2
Senior Member
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
The /etc/services file is used to tell what ports are standard for a given service. It does not mean that they are installed. If you look at the file, you can see that ftp data is transferred on port 21 using TCP and that port 21 is the standard ftp port and also uses TCP. It is a tool that client and servers can use to determine what ports to open for a connection. It is also a reference for administration purposes to know what service goes w/ what ports.


Old 07-26-2010, 10:52 AM   #3
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
/etc/services file contain service port number and protocol.

if you want to view running service use nmap or netstat command

netstat -antlp | grep ftp
tcp        0      0    *               LISTEN      26142/vsftpd
nmap localhost or IPADDRESS

Starting Nmap 4.62 ( ) at 2010-07-18 13:12 PDT
Interesting ports on localhost (
Not shown: 1705 closed ports
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i check that dovecot is installed or not Basit56 Linux - Newbie 5 01-14-2010 01:11 AM
To check installed applications ? kapilbajpai88 Linux - Newbie 12 12-19-2008 01:54 AM
How to check if hardware installed tzpow2k2 Linux - Newbie 11 07-21-2006 02:15 AM
How do I check what wm I have installed. mlsbraves *BSD 12 12-08-2004 10:25 PM
How to check for installed software... tarballed Linux - General 3 04-02-2003 04:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration