您的位置:首页 > 运维架构 > Shell

-bash: unzip: command not found解决方法

2016-06-03 16:35 1021 查看
今天在用unzip命令是发现如下错误

[root@dzwww antWebapps]# unzip project.zip
-bash: unzip: command not found

应该是unzip命令没有,然后安装

[root@dzwww antWebapps]# yum install -y unzip zip

Loaded plugins: fastestmirror

。。。。                                                   

Complete!

然后在执行unzip命令:

[root@dzwww antWebapps]# unzip project.zip

Archive:  project.zip

   creating: WenYanInterface/

。。。

   creating:WenYanComment/src/

[root@dzwww antWebapps]#

ok!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: