#!/bin/bash for i in {2..64} do #远端复制文件或目录 rcp /test/cpuburn-in 10.1.1.$i:/test/ done #!/bin/bash for ((i=1;i<=32;i++)) do #remote shell提供用户环境,也就是Shel ...
分类:
系统相关 时间:
2019-10-11 20:08:32
阅读次数:
102
下划线: 单行下划线:在python解释器中,表示是会话中上一条的执行结果 >>> "alright" 'alright' >>> _ 'alright 循环中下划线:作为一个名称,临时性名称,名称不做使用 for _ in range(10): do_something() 中间下划线:函数连接符 ...
分类:
编程语言 时间:
2019-10-10 22:11:08
阅读次数:
104
上例子 执行结果: f1 f2 f3 但是,请注意:如果是在makefile 中写,要写成这个样子: 如果 @echo $$i; 后面没有反斜线,则会出现: /bin/sh: -c:行3: 语法错误: 未预期的文件结尾 这是因为如果是如下: all: for i in f1 f2 f3; do\ @ ...
分类:
系统相关 时间:
2019-10-09 17:23:53
阅读次数:
94
我建的宏: Sub 合并文件的VBA() Dim MyPath, MyName, AWbName Dim Wb As Workbook, WbN As String Dim G As Long Dim Num As Long Dim BOX As String Application.ScreenU ...
分类:
其他好文 时间:
2019-10-09 16:07:17
阅读次数:
96
1 u-boot /u-boot-2018.07-fmsh/include/config.h /* Automatically generated - do not edit */#define CONFIG_BOARDDIR board/fmsh/fmql#include <config_defa ...
分类:
其他好文 时间:
2019-10-08 19:17:50
阅读次数:
97
请参考FEX团队探究结果 http://fex.baidu.com/blog/2015/01/chrome-stalled-problem-resolving-process/ 结论如下: 请求成功构造,失败情况下也可以看到正常的请求头被打印出来了的 可以肯定的是在与服务器建立连接时被Shut do ...
分类:
其他好文 时间:
2019-10-08 16:11:40
阅读次数:
266
--新建存储过程 create procedure doinsert3() begin declare i int; declare j int; set i = 0; set j = 0; while(i<=200) do insert into reader_info(name,sex,birt... ...
分类:
数据库 时间:
2019-10-08 14:27:03
阅读次数:
115
本篇主要写一些 脚本循环语句的使用。 for 循环 指定次数 检查主机状态 while 循环 输出 到`10` bash !/bin/bash num=1 while [ $num le 10 ] do echo $num num= let num++ done bash !/bin/bash us ...
分类:
系统相关 时间:
2019-10-08 09:19:33
阅读次数:
122
Cross-platform hacking All programs we wrote are pure python programs They do not rely on OS-specific resources. Result: They work on any OS with a py ...
分类:
编程语言 时间:
2019-10-07 13:13:26
阅读次数:
85
触发器 存储过程 流程控制 if语句的使用 案例:编写过程 实现 输入一个整数type 范围 1 2 输出 type=1 or type=2 or type=other; CASE 语句 大体意思与Swtich一样的 你给我一个值 我对它进行选择 然后执行匹配上的语句 语法: 定义变量 declar ...
分类:
其他好文 时间:
2019-10-06 13:13:55
阅读次数:
66