当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: http://bbs.chinaunix.net/forum/viewtopic.php?t=561013&show_type=&sid=20236e9d62e27f394bd9491f1c0937e4编写一个既能执行,又能自输出的 Shell Script 以verbose方式...
 

 

 ·软raid 方法    »显示摘要«
    摘要:本文介绍怎样配置raid1 什么是raid: 数据安全性是人们在使用计算机中最重要的问题之一。通常情况下,人们会在服务器环境中采用硬盘镜像技术,以达到数据的双重备份。同样,在linux环境下,我们也可以采用这种技术。 在linux环境下,采用raidtools工具,不仅可以将两个硬盘进行镜像,还可以制作软raid0、raid1、raid5。说是软raid,是因为通常情况下,raid盘是通过专用的r......
    摘要:the script show how to send mail with attachment in unix.the attchment is an ascii file.(binary file should have another tool to convert it) .#!/bin/ksh#mail infomationfilename=test.csvsubject="t......


[shell] verbose方式执行

http://bbs.chinaunix.net/forum/viewtopic.php?t=561013&show_type=&sid=20236e9d62e27f394bd9491f1c0937e4

以verbose方式执行,即加-v开关.比如 【程序编程相关:创建屏幕输出-tput基础

编写一个既能执行,又能自输出的 shell script 【推荐阅读:tput-转义字符

#!/bin/sh -v 【扩展信息:shell 十三问

ls -a


 ·[shell] expect的一些例子    »显示摘要«
    摘要:到rpmfind可以下载到expect#----------------------------------------------例一:追加到文本前(利用vi)#!/usr/bin/expectset a [lindex $argv 0]set b [lindex $argv 1]spawn vi $bexpect "*"send "o"send &quo......
» 本期热门文章:

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