Home >Operation and Maintenance >Linux Operation and Maintenance >How to check whether ftp is installed in linux
How to check whether ftp is installed on Linux: 1. Use the "rpm -qa | grep ftp" command, which is suitable for Red Hat distribution versions of Linux; 2. Use "dpkg -l | grep ftp" command, this command is suitable for Debian system distributions of linux.
#The operating environment of this article: linux7.3 system, Dell G3 computer.
Commonly used distribution package management systems include Debian system (including Debian, Ubuntu, Mint, etc.) and Red Hat system (including RHEL, Fedora, CentOs , Scientific),
The former command to check whether ftp is installed is:
dpkg -l | grep ftp
The latter command is:
rpm -qa | grep ftp
rpm Command parameters:
The command to determine whether a string ends with "ftp" is:
cat 文件名 | grep “ftp$”
Example installation of FTP service:
Use yum to install, installation command:
yum install vsftpd -y
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of How to check whether ftp is installed in linux. For more information, please follow other related articles on the PHP Chinese website!