上一页 1 ··· 205 206 207 208 209 210 211 212 213 ··· 341 下一页
摘要: import subprocessoutput =Popen(["mycmd","myarg"], stdout=PIPE).communicate()[0]import subprocessp = subprocess.Popen(['ls','-a'], stdout=subprocess.PI... 阅读全文
posted @ 2014-06-01 17:04 emanlee 阅读(2887) 评论(0) 推荐(0)
摘要: Python提供的基本数据类型主要有:布尔类型、整型、浮点型、字符串、列表、元组、集合、字典、日期等等函数 描述 type(x) x的数据类型 int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 ... 阅读全文
posted @ 2014-05-31 11:38 emanlee 阅读(615) 评论(0) 推荐(0)
摘要: 查找匹配行,输出该行并输出下面的一行 grep: grep -A 1 'keyword' file ### has bug awk:awk '$0~/keyword/{print $0;getline;print $0;}' file 阅读全文
posted @ 2014-05-27 22:25 emanlee 阅读(3998) 评论(0) 推荐(0)
摘要: wget -r -p -k -np http://源目录 ./本地目标目录 阅读全文
posted @ 2014-05-27 09:59 emanlee 阅读(1350) 评论(0) 推荐(0)
摘要: 注意:重装了Windows系统之后,需要重新安装客户端。 登录系统时如果出现 “验证失败”,或者,无法登陆系统(如下图所示),请修改服务器端IP地址. 修改方法如下: 注意: (1)修改服务器端IP地址时,要提前关闭/退出客户端。建议也看看“Windows的任务管理器”中是否有 jwgl 开头的进程 阅读全文
posted @ 2014-05-27 09:23 emanlee 阅读(11740) 评论(0) 推荐(1)
摘要: 方法一: '被注释的多行内容 '方法二:<<eof被注释的多行内容 eof方法三:<<!被注释的多行内容 !方法四 if false ; then 被注释的多行内容 fi不能如下使用: if false ; then #被注释的多行内容 不能加# fi 阅读全文
posted @ 2014-05-24 15:32 emanlee 阅读(26093) 评论(3) 推荐(5)
摘要: 修改应用程序池托管管道模式至经典模式. 阅读全文
posted @ 2014-05-22 10:02 emanlee 阅读(161) 评论(0) 推荐(0)
摘要: 1.首先安装 windows 下的 perl 环境这里使用 active perl,选择最新版本 5.16.1下载地址:http://www.activestate.com/activeperl/downloads文件名:ActivePerl-5.16.1.1601-MSWin32-x86-2961 阅读全文
posted @ 2014-05-18 08:08 emanlee 阅读(1374) 评论(0) 推荐(0)
摘要: 1.awk命令使用双引号的情况下此时在awk命令里面使用\"$var\"就可以引用外部环境变量的var的值$ var="BASH";echo "unix script"| awk "gsub(/unix/,\"$var\")"2.awk命令使用单引号的情况下此时在awk命令里面使用"'"$var"'... 阅读全文
posted @ 2014-05-14 18:31 emanlee 阅读(18798) 评论(1) 推荐(2)
摘要: heatmap.2 {gplots}R DocumentationEnhanced Heat MapDescriptionA heat map is a false color image (basically image(t(x))) with a dendrogram added to the ... 阅读全文
posted @ 2014-05-14 13:58 emanlee 阅读(4360) 评论(0) 推荐(0)
上一页 1 ··· 205 206 207 208 209 210 211 212 213 ··· 341 下一页