Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1366322
  • 博文数量: 145
  • 博客积分: 1440
  • 博客等级: 少尉
  • 技术积分: 2986
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-24 23:47
个人简介

我一直在走,至少还有条路,也好于无路可走…

文章分类

全部博文(145)

文章存档

2023年(1)

2017年(2)

2016年(5)

2015年(13)

2014年(13)

2013年(70)

2012年(41)

分类: LINUX

2013-07-20 14:00:15

#!/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

阅读(1112) | 评论(0) | 转发(0) |
0

上一篇:vsftpd 配置

下一篇:配置ip

给主人留下些什么吧!~~