How to check whether ftp is installed in linux

WBOY
Release: 2022-04-12 16:56:53
Original
6544 people have browsed it

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
Copy after login

The latter command is:

rpm -qa | grep ftp
Copy after login

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$”
Copy after login

Example installation of FTP service:

Use yum to install, installation command:

yum install vsftpd -y
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template