#!/bin/bash
process=8
PWD=`pwd`
DAT=`date`
ftpip="192.168.1.1"
user="ftp_username"
password="ftp_password"
local_dir="/home/"
getlist()
{
ftp-n$ftpip<<EOF|awk‘{print$9}‘|sed‘/^$/d‘>$PWD/list
user$user$password
cdfile/
dir
bye
EOF
}
copy()
{
if[-f$P..
分类:
系统相关 时间:
2014-05-27 03:55:34
阅读次数:
378
CMAKE方式编译安装Mysql5.51、源码cmake方式编译安装MySQL5.5.32安装前先安装:yuminstallncurses-devel-y1.1下载Mysql和cmake安装包:wgethttp://wwwNaNake.org/files/v2.8/cmake-2.8.8.tar.gz1.2查看系统环境cat/etc/redhat-releaseuname-runame-m1.3安装cmake包tarzxfcmake-..
分类:
数据库 时间:
2014-05-27 03:26:20
阅读次数:
368
生成干扰线就是画线:imageline($im参数,rand(0),0,)php验证码代码定义常量:define("host","127.0.0.1");define("user","root");define("pwd","root");
分类:
其他好文 时间:
2014-05-27 02:48:49
阅读次数:
319
是创新,还是模仿,IT界六大巨头(google, facebook,amazon,
apple, twitter, microsoft)给出了他们的答案:Google 谷歌We’ve got to be more like apple, and
make our android phones and...
分类:
其他好文 时间:
2014-05-27 02:16:15
阅读次数:
226
You Should Fall In Love With Someone Who
InspiresYouFEB. 5, 2014BySTEPHANIE ALTHOFThere’s one trait that I continuously
find myself coming back to whe...
分类:
其他好文 时间:
2014-05-24 07:45:20
阅读次数:
264
5 Quick Dating Tips For
Introverts给内向的人5个约会的小建议Introverts often have a more difficult time with social
interactions than others. This is especially tr...
分类:
其他好文 时间:
2014-05-24 00:31:15
阅读次数:
449
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:
Each child must have at least one candy.
Children with a higher rating get more candies than...
分类:
其他好文 时间:
2014-05-22 11:00:49
阅读次数:
285
linux shell 命令
什么是Shell?
Shell 是连接操作系统内核 与 用户 的接口。
终端是shell的表现形式。
什么是Shell编程?
Shell 脚本语言加上linux 命令语句就构成了shell程序。优点在于批量处理、不用用户每次手动输入。
bash是shell程序解释器的一种。
常用命令
pwd:print working directory,打印工...
分类:
系统相关 时间:
2014-05-22 10:39:17
阅读次数:
442
关于php面向对象的基本代码: 1 name = $name;12 $this->pwd
= $pwd;13 $this->age = $age;14 }15 16 public function intro(){17 18 echo ...
分类:
Web程序 时间:
2014-05-20 11:34:15
阅读次数:
303
1. SQL*Plus登陆:在cmd中,使用sqlplus
[usernam]/[pwd]或者sqlplus [usernam]/[pwd] as sysdba或者sqlplus
[usernam]/[pwd]@[netsvr],netsvr是已定义的网络服务名。2. 获得帮助索引:help ind...
分类:
数据库 时间:
2014-05-19 13:32:55
阅读次数:
439