Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1606357
  • 博文数量: 409
  • 博客积分: 6240
  • 博客等级: 准将
  • 技术积分: 4908
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-01 00:04
文章分类

全部博文(409)

文章存档

2021年(1)

2019年(1)

2017年(1)

2016年(13)

2015年(22)

2013年(4)

2012年(240)

2011年(127)

发布时间:2012-01-31 13:20:12

......【阅读全文】

阅读(5197) | 评论(0) | 转发(1)

发布时间:2012-02-16 11:41:29

#修订:查看日志,备份脚本执行报错,经检查,是因为缺少环境变量。日期:23:05 2012/2/19   记录所有操作日志,这是一个管理员做事的基本要求。调试脚本的时候,注意屏幕输出的内容,或者完善寻混语句,打印执行过程,多用“echo”“printf”便于纠错。[oracle@CMS2 data]$ cat &.........【阅读全文】

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

发布时间:2012-04-07 11:15:55

......【阅读全文】

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

发布时间:2015-05-20 18:42:42

[yangkai@localhost myshell]$ cat test_dh.exp #!/bin/bash/expect -fset ip 192.168.23.128set password 123456set timeout 3spawn ssh root@$ipexpect {"passw" {send "$password\r";exp_continue}#"de password: " {send "$password\r";exp_continue}"root@" {send "df -h /opt\r";exp_continue}}int.........【阅读全文】

阅读(1658) | 评论(0) | 转发(1)

发布时间:2015-03-30 20:23:20

[root@yang testshell]# cat ftptest.sh #bin/bashhost=localhost;username=ykftp;password=yk123;ddir=/file1/file2/#ftp -i -v -n ${host}<<okftptestfile(){ftp -i -n ${host}<<okuse ${username} ${password}.........【阅读全文】

阅读(3953) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

milknunu2013-03-29 14:37

你真是运维技术牛人啊,我只做过linux培训,想好好学习运维,很佩服你,也想跟着你做事情,可以收留吗,

回复  |  举报
留言热议
请登录后留言。

登录 注册