首页

解决centos系统执行ftp命令报“-bash: ftp: command not found”错误(安装ftp命令)

标签:ftp命令安装,linux ftp,FTP客户端     发布时间:2018-11-26   

一、前言

关于Centos的linux系统下执行ftp报"-bash: ftp: command not found"错误日志(详情日志),解决方法见下面

[root@centos6 ~]# ftp@b@-bash: ftp: command not found

二、解决方法

SSH终端执行安装命令"yum   install   ftp"

[root@centos6 ~]# yum    install  ftp@b@已加载插件:fastestmirror, refresh-packagekit, security@b@设置安装进程@b@Loading mirror speeds from cached hostfile@b@ * base: mirrors.aliyun.com@b@ * extras: mirrors.aliyun.com@b@ * updates: mirrors.aliyun.com@b@解决依赖关系@b@--> 执行事务检查@b@---> Package ftp.x86_64 0:0.17-54.el6 will be 安装@b@--> 完成依赖关系计算@b@@b@依赖关系解决@b@@b@=======================================================================@b@ 软件包       架构            版本                 仓库           大小@b@=======================================================================@b@正在安装:@b@ ftp          x86_64          0.17-54.el6          base           58 k@b@@b@事务概要@b@=======================================================================@b@Install       1 Package(s)@b@@b@总下载量:58 k@b@Installed size: 95 k@b@确定吗?[y/N]:y@b@下载软件包:@b@ftp-0.17-54.el6.x86_64.rpm                      |  58 kB     00:00     @b@运行 rpm_check_debug @b@执行事务测试@b@事务测试成功@b@执行事务@b@  正在安装   : ftp-0.17-54.el6.x86_64                                                                                                           1/1 @b@  Verifying  : ftp-0.17-54.el6.x86_64                                                                                                           1/1 @b@@b@已安装:@b@  ftp.x86_64 0:0.17-54.el6                                                                                                                          @b@@b@完毕!@b@[root@centos6 ~]# ftp@b@ftp>
  • ◆ 相关内容