当前位置:首页 » 专业资讯
开发技术指南» 文章正文
    引言: From: http://www.yick.org/websit
 

 

 ·頹廢的時光    »显示摘要«
    摘要:我想應該每個人都有這樣的一段時間吧! 我是這麼認為的!至少是會有這樣的感覺 -------- 訝,又過了一天了,什麼事情都沒有做,也沒有學習, 內心惶恐不安 ! 這樣的感覺久了,就成了我現在的樣子,少時間去想這樣的問題了,每天打發著時間 !! 天 ~~ 我該怎麼辦 想學習可是好難去摸書本 ,那該死的工作也由於我們曾經的努力及公司極少的要求而變到輕松到像“一”一樣!!! 想提出好的建議又被公司駁回(公司從來也不願意聽我們歷......
 ·unix基础    »显示摘要«
    摘要:s1. what is unix? 什么是unix?the unix operating system comprises three parts: the kernel, the standard utility programs, and the system configuration files unix 操作系统是由3部分组成的:内核,标准工具程序和系统配置文件. 1.the kernel: its the core of the unix op......


脚本欣赏----Shell Script to Clone Linux System - 20041201
from: http://www.yick.org/website/index.php?module=documents&jas_documentmanager_op=viewdocument&jas_document_id=12

【相关文章:Apache限制IP访问

【扩展阅读:不能发送邮件显示procmail错误

代码: 【扩展信息:linux网络通信命令大全-------

#!/bin/sh

# desc: dump and restore disk using dump and restore commands

# author: swergar

脚本欣赏----shell script to clone linux system - 20041201

from: http://www.yick.org/website/index.php?module=documents&jas_documentmanager_op=viewdocument&jas_document_id=12

代码:

#!/bin/sh

# desc: dump and restore disk using dump and restore commands

# author: swergar

#

# *** please read the bottom of this script for help ***

#

## configurations

# which dir to store backup files?

#backdir="/mnt/ghost/`hostname -s`"

backdir="/opt/backup" # which dir to store backup files?

#backdir="/mnt/ghost/test"

# which dir/files want to exclude?

exclude="/var/log /var/spool/mail /opt/config_backup $backdir"

# define these values for raid system

phydisk=hda

mirrordisk=hdb

################################################################################

# detect raid

israid=`grep `df / | grep ^/dev| cut -d " " -f 1 | sed s//dev///g` /proc/mdstat | grep -c md`

if [ "$israid" -gt "0" ] ; then

  raiddevice="yes" ;

  md=`df / | grep ^/dev| cut -d " " -f 1 | sed s//dev///g| sed s/[0-9]//g`

  dumpprts=`df | grep ^/dev/$md | sed s/  */ /g| cut -d " "  -f 6| grep -v "^/$" `

  rm -f /tmp/fstab.raid /tmp/df.txt

  raid=`cat /proc/mdstat |  grep ^md| cut -d " "  -f 1,5| tr " " ":" |  sed s/[[0-9]]//g`

  for i in $raid ; do

    hrd=`echo $i | cut -d ":" -f 1`

    hdev=`echo $i | cut -d ":" -f 2| sed s/[a-z]//g`


...   下一页
    摘要:  中国金融网报道消息 近日,浪潮和英特尔联袂举行媒体见面会,与媒体就双方在新至强市场的推进及合作进展进行了全面深入的沟通,日前浪潮主流产品已率先实现向新至强平台切换;同时,英特尔对于新至强的应用前景表示了乐观的态度,对于浪潮在新至强服务器市场的杰出表现给予了高度肯定,英特尔中国公司技术总监靳光辉指出:“在诸多创新特性的基础上,我们将处 最新国内·国际金融焦点和专家分析请查阅中国金融网《行长经理内参》理器、芯片组、存储和网络组件与这些技术完美结合在一起,在......
» 本期热门文章:

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