一、grep:globalsearchregularexpressionandprintouttheline.文本搜索工具,根据用户指定的文本模式对目标文件进行逐行搜索,显示能够被模式所匹配到的行格式:grep[option]‘PATTERN‘file1,...其中PATTERN为正则表达式。 --color=auto:匹配的行高亮显示 -v:反向匹配,显示不..
分类:
其他好文 时间:
2014-09-01 02:56:03
阅读次数:
203
RM(1) User Commands RM(1)NAME rm - remove files or directoriesSYNOPSIS rm [OPTION]... FILE...DESCRIPTION This manual page documents the GNU version of...
分类:
系统相关 时间:
2014-08-30 22:53:10
阅读次数:
311
var?cc=?$("#cc").layout();//获取对象
cc.layout("collapse","west");//调用对象方法 var?centerPanel?=?$("#cc").layout("panel","center");//获取中间panel对象
centerPanel.panel("option").title;...
分类:
其他好文 时间:
2014-08-30 15:14:09
阅读次数:
159
CP(1) User Commands CP(1)NAME cp - copy files and directoriesSYNOPSIS复制一个文件到另一个地方,注意要加上文件名 cp [OPTION]... [-T] SOURCE DEST 复制多个文件到另一个目录中 cp [OP...
分类:
系统相关 时间:
2014-08-30 11:11:09
阅读次数:
273
MV(1) User Commands MV(1)NAME mv - move (rename) filesSYNOPSIS移动单个文件: mv [OPTION]... [-T] SOURCE DEST #移动一个文件到另一个地方,其实这是个重命名的用法移动多个文件或目录: mv [O...
分类:
系统相关 时间:
2014-08-30 11:06:09
阅读次数:
348
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1822题目意思:有一条 L 厘米长的杆,上面有 n 只蚂蚁,给出每只蚂蚁的...
分类:
其他好文 时间:
2014-08-30 00:01:48
阅读次数:
283
语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Se...
分类:
Web程序 时间:
2014-08-29 12:54:27
阅读次数:
313
一、#wc:printthenumberofnewlines,words,andbytesinfileswc[option][file]-l:统计行-c:统计字节数-w:统计单词数如:a、统计当前系统有多少用户:wc-l/etc/passwdb、统计/bin下的文件数:ls-l/bin|wc-lc、统计/etc目录下以P或者p开头的文件个数:ls-d/etc/[Pp]*|wc-l二、#tr..
分类:
其他好文 时间:
2014-08-29 11:12:08
阅读次数:
211
导出
1、在linux命令行下输入:
mysqldump -u userName -p dabaseName > fileName.sql...
分类:
数据库 时间:
2014-08-28 19:51:15
阅读次数:
216
Action(){char * position;char * str;int offset;char * search_str = "ERROR"; // web_set_sockets_option("INITIAL_BASIC_AUTH","1"); web_set_user("21652.....
分类:
Web程序 时间:
2014-08-28 18:05:25
阅读次数:
247