Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of CentOS executing ftp Command prompt ftp:command not found

2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to solve the problem that CentOS executes the ftp command prompt ftp:command not found". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to solve the problem of CentOS executing ftp command prompt ftp:command not found".

When using centos, upload the file with ftp, but when it comes to the script's ftp command, there will be an error:

The code is as follows:

Ftp: command not found

The reason is whether the ftp client is not installed, just reinstall it.

As a solution, go to the official http://mirror.centos.org/centos/5/os/i386/CentOS/ to find the address of ftp's rpm package and perform the installation.

Execution of version 5.x:

The code is as follows:

Rpm-Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/ftp-0.17-35.el5.i386.rpm

Execution of version 6.x:

32-bit:

The code is as follows:

Rpm-Uvh http://mirror.centos.org/centos/6/os/i386/Packages/ftp-0.17-54.el6.i686.rpm

64-bit:

The code is as follows:

Rpm-Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/ftp-0.17-54.el6.x86_64.rpm

You can use the ftp command after you have successfully installed it.

Supplementary update: if the following error message is prompted after executing the above command:

The code is as follows:

Libc.so.6 is needed by ftp-0.17-35.el5.i386

You can install the dependency package glibc through the command

The code is as follows:

Rpm-Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/glibc-2.12-1.132.el6.x86_64.rpm

At this point, I believe you have a deeper understanding of "how to solve the problem of CentOS executing ftp command prompt ftp:command not found". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report