#!/bin/bash
#!This is a shell script to finish the folders tasks.
rm -rf /home/cpay/zyc/file
mkdir /home/cpay/zyc/file
cd /home/cpay/zyc/file
echo 'The current path is :';pwd
echo '********'
a=30000
while [ $a -gt 0 ]
do
echo '--'
#echo $a
mkdir $a
let a--
#a = $a-1
done
echo '30000 filefolders created successfully'
ls -lR|grep "^d"|wc -l

05-01 05:52