bash scp command not found的解决方法
2013-03-02 00:00
851 查看
安装了centos6.0,由于选择了最小安装,很多包没有安装,因此一些常用的命令也不支持,如下:
# scp
-bash: scp: command not found
我的解决方法是:在一台运行正常的CentOS 5.6服务器上找到scp所在的包:
##---以下命令在运行正常的CentOS 5.6上执行
这么看来scp所在的包是openssh-clients了。
在不正常的机器上安装吧:
至此,scp命令可以执行了。
注意:以上用到的包名请大家根据自己的情况进行调整。
# scp
-bash: scp: command not found
我的解决方法是:在一台运行正常的CentOS 5.6服务器上找到scp所在的包:
##---以下命令在运行正常的CentOS 5.6上执行
# which scp /usr/bin/scp # rpm -qf /usr/bin/scp openssh-clients-4.3p2-72.el5
这么看来scp所在的包是openssh-clients了。
在不正常的机器上安装吧:
# yum install openssh-clients 或者从光盘上安装 # rpm -ivh libedit-2.11-4.20080712cvs.1.el6.x86_64 # rpm -ivh openssh-clients-5.3p1-20.el6.x86_64
至此,scp命令可以执行了。
注意:以上用到的包名请大家根据自己的情况进行调整。
相关文章推荐
- bash scp command not found的解决方法
- -bash: scp: command not found 解决方法
- -bash: scp: command not found问题解决
- 关于使用mail命令产生:-bash: mail: command not found的解决方法
- bash sqlplus command not found 解决方法
- Linux解决bash: mysql: command not found 的方法
- 解决bash: mysql: command not found 的方法
- 关于第三方终端command not found不加载.bash_profile 解决方法
- 从windows桌面拉文件进linux报:SecureCRT上传bash: rz: command not found 解决方法
- -Bash: Unzip: Command Not Found解决方法 安装unzip
- 解决bash: mysql: command not found 的方法
- -bash: pecl: command not found的解决方法
- 提示bash: mysql: command not found解决方法
- -bash: unzip: command not found解决方法
- bash: service: command not found 错误的解决方法
- -bash: wget: command not found 解决方法
- Linux关于bash:ifconfig command not found 解决方法
- -bash: wget: command not found 解决方法
- -bash: pecl: command not found的解决方法
- bash: sqlplus: command not found 解决方法