shell 脚本批量安装perl包
来源:互联网 发布:怎么做自己的淘宝链接 编辑:程序博客网 时间:2024/06/05 11:38
dir是指定安装包的目录
#! /bin/bash
#filelist=`ls -l|awk {'print $9'}`dir=/wls/oracle/testShellInstallperl/package
filelist=`ls -l $dir| grep ^- | awk '{print $9}'`
for file in $filelist;
do
if [ -f $dir/$file ]
then
echo "${file}"
tar zxvf $dir/${file} -C $dir
len=${#file}
len=$[len-7]
echo "$len"
echo "${file:0:len}"
cd $dir/${file:0:len}
#cd ${file_name%.*}
perl Makefile.PL
make
make install
#cd ..
fi
done
0 0
- shell 脚本批量安装perl包
- iphone-批量打渠道包shell脚本
- Shell脚本——批量安装Apk
- 批量解压shell脚本
- 批量压缩shell脚本
- shell批量互信脚本
- Shell 批量停起库脚本
- 使用 Shell 脚本进行 Hadoop Spark 集群的批量安装
- perl、python、shell脚本区别
- PERL脚本ARP抓包
- perl 、shell、python之shell脚本入门
- perl 、shell、python之shell脚本入门
- Perl包的安装
- 批量去掉pdf文件密码perl脚本
- 用Perl脚本实现MS批量任务
- shell脚本批量移动文件
- shell脚本批量添加用户
- shell脚本批量增加用户
- 20、到文档顶部的距离和到浏览器窗距离
- Perl语言入门(01 Perl安装+编辑第一个程序)
- Python 笔记 (1)
- Cannot create an NSPersistentStoreCoordinator with a nil model 问题解决
- [从头读历史] 第297节 时间简史 爱因斯坦的相对论
- shell 脚本批量安装perl包
- Memcached应对高并发攻击
- 系统虚拟化知识总结--Xen虚拟化平台
- HDU 1286 找新朋友
- SpannableString使用详解
- Axis2部署模型
- 百度推送网站url到搜索引擎方式 : 主动推送&sitemap
- 内存中Meg的含义
- DOS窗口下使用Mysql数据库基本语句