使用which unzip查看当前unzip命令使用的是/home/kms/server/oracle10/product/10.2.0/client_1/bin/目录下的
查看了一下/home/kms/server/oracle10/product/10.2.0/client_1/bin/目录是有unzip命令的
echo $PATH可以看到环境变量中/home/kms/server/oracle10/product/10.2.0/client_1/bin/比较靠前,而且在其前面的bin目录都没有unzip命令,且/home/kms/server/oracle10/product/10.2.0/client_1/bin/有unzip命令,查看
/home/kms/server/oracle10/product/10.2.0/client_1/bin/unzip的权限是755说明当前用户有执行unzip命令的权限。那么可能问题是unzip命令有问题,将/usr/bin/unzip拷贝到
/home/kms/server/oracle10/product/10.2.0/client_1/bin/
:cp /usr/bin/unzip /home/kms/server/oracle10/product/10.2.0/client_1/bin/
再次使用unzip命令发现可以解压