当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: rpm包1 给 /path/what you want to r
 

 

 ·测试远程登录的脚本    »显示摘要«
    摘要:本文向大家展示一个自动远程登录的脚本下面的这个 expect 脚本可以模拟自动登录,并执行某些操作#!/usr/bin/expect --# test_telnet.expset prompt "(%|#|>|\$) $";#default prompteval spawn telnet $argvset pid $spawn_idsleep 5expect { ......
 ·[shell] 微软测试题    »显示摘要«
    摘要:题目如下:有三个六位数,分别是abcdef、cdefab、efabcd。a、b、c、d、e、f分别代表一位数,可能是1~9之间的任何一个,但是他们都是不同的数。已知这三个六位数满足下列条件:abcdef*2=cdefabcdefab*2=efabcd问a=?、b=?、c=?、d=?、e=?、f=? yusuan3.txt ......


rpm包
rpm包

1  给 /path/what you want to rpm   打包

   tar zcvf test.tgz * 【程序编程相关:9) $@ 與 $* 差在哪?

【推荐阅读:> 與 < 差在哪?

2  cp /test.tgz /usr/src/redhat/source 【扩展信息:8) $(( )) 與 $( ) 還有$

3  在 /usr/src/redhat/source 下建一个文件 test.spec

   内容:

summary: simple example for rpm building demo.

name: test

version: 1.0

release: 1

copyright: test

group: test

source: test.tgz

packager: tester


...   下一页
 ·bash教程    »显示摘要«
    摘要:个人总结shell历史 bourne shell (sh) c shell (csh) korn shell (ksh) 三种shell 都有它们的优点和缺点 bourne again shell (bash), 正如它的名字所暗示的,是 bourne shell 的扩展。bash 与 bourne shell 完全向后兼容,并且在 bourne shell 的基础上增加和增强了很多特性。bash......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE