find的语法:find [起始目录] 寻找条件 操作还有种表述方式:find PATH OPTION [-exec COMMAND { } \;]因为find命令会根据我们给的option,也就是寻找条件从我们给出的目录开始对其中文件及其下子目录中的文件进行递归搜索,所以我觉的这个地方说是“起始目...
分类:
其他好文 时间:
2014-06-29 00:57:38
阅读次数:
244
我們先假設使用者,已經在 python 官方網站下載各版本的 Windows Installer 並安裝在預設路徑下:python 2.6:C:\Python26python 2.7:C:\Python27python 3.2:C:\Python32我們希望在 command line 輸入 pyt...
分类:
编程语言 时间:
2014-06-28 23:47:33
阅读次数:
253
Linux中find常见用法示例·find path -option [ -print ] [ -exec -ok command ] {} \;find命令的参数;pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。-print: find命令将匹配的文...
分类:
系统相关 时间:
2014-06-28 23:32:27
阅读次数:
243
Troubleshooting the SharePoint “File not found” Error Have you ever come across a “File Not Found” error when accessing some part of your WSS 3.0, MOS...
分类:
其他好文 时间:
2014-06-28 21:27:47
阅读次数:
301
将dump拖入到windbg中后,在command输入栏输入 .load wow64exts 回车 !sw 回车,就将windbg的dump,从64位模式切换到了32位模式,否则看到的call stack 对我们分析dump是没有帮助的。然后就可以使用其它的命令来分析了。比如:使用kb命令,查看.....
分类:
数据库 时间:
2014-06-28 20:44:57
阅读次数:
305
因为从10.5版本开始适用Mac OS,SVN一直都是默认安装的软件。后来发现一个简单的办法。如果你有安装XCode,只需要在code > Preferences > download > Command Line Tools > Install即可,速度很快,基本1分钟搞定。 这个Command ...
分类:
其他好文 时间:
2014-06-21 12:45:48
阅读次数:
215
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-06-21 06:58:22
阅读次数:
186
#!/usr/bin/python## get subprocess module import subprocess## call date command ##p = subprocess.Popen("date", stdout=subprocess.PIPE, shell=True)## T...
分类:
编程语言 时间:
2014-06-20 21:40:04
阅读次数:
324
Iptables的命令选项 iptables [-t tables] command option parameter target -A 在链尾添加一条规则 -C 将规则添加到用户定义链之前对其进行检查 -D 从链中删除一条规...
分类:
其他好文 时间:
2014-06-20 13:47:05
阅读次数:
227
运行mahout in action上的cluster示例时报错:Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected 确定是版本问题,我的hadoop版本是2.4,但mahout目...
分类:
其他好文 时间:
2014-06-18 11:07:10
阅读次数:
394