Chinaunix首页 | 论坛 | 博客
  • 博客访问: 294539
  • 博文数量: 47
  • 博客积分: 1667
  • 博客等级: 上尉
  • 技术积分: 686
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-06 16:20
文章分类

全部博文(47)

文章存档

2013年(20)

2012年(20)

2011年(7)

发布时间:2012-12-21 16:45:12

#!/usr/bin/perluse warnings;use strict;定义一个2维数组,只要在定义数组,添加多个数组即可my @matrix = ( [3,4,10],                        [2,7,12],                    &n......【阅读全文】

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

发布时间:2012-12-13 14:36:53

#!perluse warnings;use strict;use Win32::Process;my @abc=`tasklist`;print @abc;while (1) {if (grep /QQ.exe/,@abc){     print 'QQ.exe';} else{    &qqprocess;}sleep 10;}sub qqprocess{       my $result = Win32::Process::Create( my $Pr......【阅读全文】

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

发布时间:2012-12-13 10:24:06

#!perluse warnings;use strict;use Net::FTP;my $ftpserver='192.168.188.2';my $ftpuser='tony';my $ftppassword='tony123456';my $ftp=Net::FTP->new("$ftpserver",Debug=>1)or die "$!";$ftp->login("$ftpuser","$ftppassword") or die "$!";###cwd前进到目录#$ftp->cwd('/abc') or die "$!";###ls显示文件my @file=......【阅读全文】

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

发布时间:2012-12-05 12:04:29

tar包转rpmrpmbuild 会这topdir 来进行build先来看看topdir 的目录rpmbuild --showrc  |grep topdir-14: _builddir %{_topdir}/BUILD-14: _rpmdir %{_topdir}/RPMS-14: _sourcedir %{_topdir}/SOURCES-14: _specdir %{_topdir}/SPECS-14: _srcrpmdir %{_topdir.........【阅读全文】

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

发布时间:2012-11-30 10:44:16

网络服务器IP: 192.168.20.129yum  -y install httpd tftp-server syslinux dhcp xinetdmkdir  -p /media/CentOSmount /dev/cdrom /media/CentOS/bin/cp -afr /media/CentOS/*  /var/var/www/mkdir  -p /tftpboot/pxelinux.cfg/cp /media/CentOS/isolinux/isolinux.cfg     &.........【阅读全文】

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

大鬼不动2010-09-28 08:36

踩踩

回复  |  举报

大鬼不动2010-09-27 08:33

踩踩

回复  |  举报

大鬼不动2010-09-22 02:18

记得回踩哦

回复  |  举报

大鬼不动2010-09-19 08:32

记得回踩哦

回复  |  举报

大鬼不动2010-09-14 19:45

踩踩

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

登录 注册