find [起始目录] 寻找条件 操作还有种表述方式:find PATH OPTION [-exec COMMAND { } \;]因为find命令会根据我们给的option,也就是寻找条件从我们给出的目录开始对其中文件及其下子目录中的文件进行递归搜索,所以我觉的这个地方说是“起始目录”是非常好的。...
分类:
系统相关 时间:
2014-07-16 23:03:03
阅读次数:
332
xargs命令把从stdin接受到的数据重新格式化。例如:$command | xargs xargs命令可以将多行输入转换成单行输出$cat example.txt1 2 3 4 5 67 8 9 1011 12$cat example.txt | xargs1 2 3 4 5 6 7 8 9 ....
分类:
其他好文 时间:
2014-07-16 23:02:37
阅读次数:
299
配置struts.xml文件 将value改成true 当访问action的时候调用Action类默认不执行execute方法如果是false的话哪么调用action执行execute方法 namespace:是访问action的前缀 extends:可以继承其他包 name:包的名字name:ac...
分类:
其他好文 时间:
2014-07-16 20:40:37
阅读次数:
149
two ways here I provide:+ use openSSH command line on git bash(such as msysgit bash) + ls -al ~/.ssh + ssh-keygen -t rsa -C "phpgcs@qq.com" + e...
对所有用户有效在/etc/profile增加以下内容。只对当前用户有效在Home目录下的.bashrc或.bash_profile里增加下面的内容:(注意:等号前面不要加空格,否则可能出现 command not found)#在PATH中找到可执行文件程序的路径。export PATH =$PAT...
分类:
系统相关 时间:
2014-07-13 12:23:21
阅读次数:
295
NAMErhn_check - check for queued actions on RHN and execute themSYNOPSIS/usr/sbin/rhn_check [-v] [--verbose]DESCRIPTIONrhn_checkis a client program th...
分类:
系统相关 时间:
2014-07-13 10:13:35
阅读次数:
253
/command:update/command:add/command:commit/logmsg:"msgstr"多个离散svn目录的更新"C:/program files/tortoisesvn/bin/TortoiseProc.exe" /command:update /Path:"C:/.....
分类:
其他好文 时间:
2014-07-13 08:48:58
阅读次数:
199
命令模式(command pattern) 详细解释本文地址:http://blog.csdn.net/caroline_wendy命令模式(command pattern) : 将请求封装成对象, 以便使用不同的请求\队列\日志来參数化其它对象.命令模式也能够支持撤销操作.简单的命令模式的实现:1...
分类:
其他好文 时间:
2014-07-13 08:21:02
阅读次数:
289
错误例子:error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard err...
分类:
其他好文 时间:
2014-07-10 19:30:11
阅读次数:
3913
我采用的是MySQLdb操作的MYSQL数据库。先来一个简单的例子吧:importMySQLdb
try:
conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘test‘,port=3306)
cur=conn.cursor()
cur.execute(‘select*fromuser‘)
cur.close()
conn.close()
exceptMySQLdb.Error,e..
分类:
数据库 时间:
2014-07-10 18:20:40
阅读次数:
282