摘要: http://rsync.samba.org/https://download.samba.org/pub/rsync/rsync.html 阅读全文
posted @ 2018-04-04 15:39 helloworld899 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #shellfor x in `seq 1 255`do #echo $x ip=10.10.1.$x ping -c 2 $ip > /dev/null if [ $? == 0 ];then echo "$ip is alive" else echo "$ip is unavialable" f 阅读全文
posted @ 2018-03-20 16:11 helloworld899 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 执行结果: 我在听音乐 夜空中最亮的星. Wed Dec 6 15:15:16 2017我在听音乐 夜空中最亮的星. Wed Dec 6 15:15:19 2017我在看电影 英伦对决. Wed Dec 6 15:15:22 2017我在看电影 英伦对决. Wed Dec 6 15:15:27 20 阅读全文
posted @ 2017-12-21 15:40 helloworld899 阅读(195) 评论(0) 推荐(0) 编辑
摘要: AWK: tail -f access.log | awk -F"," '$7!~/"200"/{print $7}' cat rechargeOK_2015-11-16.log | awk -F'[][]' '{print $(NF-3)}' | awk '{sum+=$1} END {print 阅读全文
posted @ 2017-12-20 23:13 helloworld899 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 安装包: https://www.kernel.org/pub/linux/utils/net/iproute2/ 获取帮助信息: man ip NAME ip - show / manipulate routing, devices, policy routing and tunnels SYNO 阅读全文
posted @ 2017-12-15 17:37 helloworld899 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Centos6 环境: yum install libxml2-devel curl-devel libpng-devel freetype-devel -y ./configure --prefix=/usr/local/php-7.x.x \--with-mysqli=mysqlnd \--wi 阅读全文
posted @ 2017-12-15 15:21 helloworld899 阅读(127) 评论(0) 推荐(0) 编辑
摘要: ###socketserver: https://docs.python.org/3.5/library/socketserver.html server: client: #利用socket实现简单的ssh server: client: 阅读全文
posted @ 2017-12-05 17:00 helloworld899 阅读(323) 评论(0) 推荐(0) 编辑
摘要: #SSHClient (用户连接远程服务器执行基本的命令) 基于用户名及密码 import paramiko ssh = paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh.connect( 阅读全文
posted @ 2017-12-05 15:47 helloworld899 阅读(182) 评论(0) 推荐(0) 编辑
摘要: #系统环境: ubuntu #imap扩展 # cd /opt/packages/php-7.1.4/ext/imap # ./configure --with-php-config=/usr/local/php-7.1.4/bin/php-config --with-kerberos=/usr/k 阅读全文
posted @ 2017-11-10 09:50 helloworld899 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 命令行启动简单的httpserver: python3: $ python3 -m http.serverServing HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...10.1.21.242 - - [27/Sep/2017 18:24:34 阅读全文
posted @ 2017-09-27 18:40 helloworld899 阅读(159) 评论(0) 推荐(0) 编辑