#!/bin/sh
#
# SCO OPenServer 5下通用的命令行下安装VOL格式的软件的shell程序
echo -n "请输入要安装的软件的所在目录:"
read VolPath
VDIR=$VolPath
VOLS=$VDIR/VOL.000.000
component=`grep "component" < $VOLS | head -1 | cut -d= -f2 | cut -d: -f1`
package=`grep "component" < $VOLS | head -1 | cut -d= -f2 | cut -d: -f2`
custom -p $component:$package -i -z $VDIR
echo "软件安装完毕!"
simonzhan 回复于:2004-11-21 16:09:07 |
很早就想要一个,不错的说。加精! |
老查 回复于:2004-11-22 10:27:19 |
好东西,收藏! |
99168161 回复于:2004-11-24 12:44:54 |
多谢 |
xzh2002 回复于:2004-11-24 12:52:36 |
customextract
命令是从VOL包中抽取某些文件用的 |
sdccf 回复于:2004-11-24 13:33:18 |
那当然了,要不写上干什么? |
day_dream 回复于:2004-11-28 10:06:17 |
[quote:85ae22a165="simonzhan"]很早就想要一个,不错的说。加精![/quote:85ae22a165]
老兄是建行的吗?那个分行的啊? 呵呵 |
zhaocz 回复于:2004-11-28 19:23:44 |
非常好的东西,精华!!!! |
只爱陌生人2004 回复于:2004-12-02 19:41:34 |
我[size=24:2b96ff6309]想把下面的命令编为一个shell程序,如何编!
ftp 10.134.128.1 usr:root password:空 cd /usr/zb put XXXX.Z 如果我有好多个网点,应该怎么办! 谢谢!!江湖救急!![size=18][/size:2b96ff6309][/size] |
sdccf 回复于:2004-12-02 22:30:41 |
密码不要空. |
sdccf 回复于:2004-12-02 22:32:17 |
http://unix-cd.com/unixcd/article_view.asp?id=554 |
sdccf 回复于:2004-12-02 22:33:09 |
http://unix-cd.com/unixcd/article_view.asp?id=648 |
只爱陌生人2004 回复于:2004-12-02 22:49:15 |
[size=24:665e7c1a7e]假如我的ROOT下没有设密码,应该怎么用啊.或者用null代替空吗?[/size:665e7c1a7e] |
sdccf 回复于:2004-12-03 06:58:42 |
这是不允许的 |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/