Home >Operation and Maintenance >Linux Operation and Maintenance >How to check whether ftp is installed in linux

How to check whether ftp is installed in linux

WBOY
WBOYOriginal
2022-04-12 16:56:536630browse

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.

How to check whether ftp is installed in linux

#The operating environment of this article: linux7.3 system, Dell G3 computer.

How to check whether ftp is installed in Linux

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

How to check whether ftp is installed in linux

rpm Command parameters:

How to check whether ftp is installed in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn