#!/bin/bash
#guying chuliwenjian
#=====================touch file =========
if [ -d /shared ];then
echo the shared is in your system
else
mkdir /shared
fi
for i in {1..140}
do
touch /shared/share$i
echo 1004xcbtpk22m >/shared/share$i
done
#==============replace cbt Aix
for b in {1..140}
do
add=`sed -e s/cbt/Aix/g /shared/share$i`
echo $add >/shared/share$b
done
for c in {1..140}
#================del k22==========
do
del=`sed -e 's/k22//g' /shared/share$c`
echo $del >/shared/share$c
done
阅读(1165) | 评论(0) | 转发(0) |