¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 56°Ç
   
µð·ºÅ丮 / ÆÄÀÏ ÀÓ°èÄ¡ »ý¼º
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-03-16 (È­) 19:24 Á¶È¸ : 5145
±ÛÁÖ¼Ò :
                          

#!/bin/bash
dir_num=0
max_threshold=100000

while [ $dir_num -lt $max_threshold ] ; do
let dir_num=dir_num+1
cd /home1
mkdir  a.$dir_num

        num=0
        while [ $num -lt $max_threshold ] ; do
        let num=num+1
        cd /home1/a.$dir_num
        dd if=/dev/zero of=a.$num bs=1 count=$num
        done
done


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.