摘要:
http://rsync.samba.org/https://download.samba.org/pub/rsync/rsync.html 阅读全文
摘要:
#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 阅读全文
摘要:
执行结果: 我在听音乐 夜空中最亮的星. 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 阅读全文
摘要:
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 阅读全文
摘要:
安装包: https://www.kernel.org/pub/linux/utils/net/iproute2/ 获取帮助信息: man ip NAME ip - show / manipulate routing, devices, policy routing and tunnels SYNO 阅读全文
摘要:
Centos6 环境: yum install libxml2-devel curl-devel libpng-devel freetype-devel -y ./configure --prefix=/usr/local/php-7.x.x \--with-mysqli=mysqlnd \--wi 阅读全文
摘要:
###socketserver: https://docs.python.org/3.5/library/socketserver.html server: client: #利用socket实现简单的ssh server: client: 阅读全文
摘要:
#SSHClient (用户连接远程服务器执行基本的命令) 基于用户名及密码 import paramiko ssh = paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh.connect( 阅读全文
摘要:
#系统环境: 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 阅读全文
摘要:
命令行启动简单的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 阅读全文