运用场景:在当前目录下查找,比如代码目录,不需要在.svn目录下,以及ctags生成的tags文件中查找: grep的--exclude-dir=参数就是为了排除某个目录的,即不包含等号后面的目录; grep的--exclude=参数是为了排除某个特定的文件的,即不包含等号后面的文件; gre...
分类:
系统相关 时间:
2015-07-06 15:57:24
阅读次数:
142
文章转自http://www.cnblogs.com/zhuyp1015/archive/2012/07/14/2591822.html前一篇学习了awk的基本知识,现在来做一些练习加深一下印象。假设我们有这样一个待处理的文件"grade.txt":M.Tansley 05/99 48311 Gre...
分类:
其他好文 时间:
2015-06-28 12:36:28
阅读次数:
129
一 函数定义
func funcName(arg1:type, arg2:type, ...)->type{
// function body
return xxx
}
说明:
func 函数生命关键字,函数类型
->type 生命返回值类型
示例:
func sayHello(personName: String) -> String {
let gre...
分类:
编程语言 时间:
2015-06-22 16:26:46
阅读次数:
208
工作职责: 负责网络传输加速技术的研发; 负责传输协议的持续优化;工作要求:2年以上linux后台开发工作经验;熟悉NetFilter框架开发和使用,精通NetFilter/IPTable技术;熟悉网络2/3层相关协议和技术,如OSPF/ARP/GRE/BRIDGE/BGP等;熟悉TCP/IP协.....
分类:
其他好文 时间:
2015-06-13 01:12:06
阅读次数:
178
package com.goldcn.jzgmanageplat.b2b.controller;import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Date;import java.util.Gre...
分类:
编程语言 时间:
2015-06-08 21:23:25
阅读次数:
193
题目: Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assume that A has enough space (size that is gre...
分类:
其他好文 时间:
2015-06-05 22:26:08
阅读次数:
187
netstat -ntupln表示不查询dnst表示tcp协议u表示udp协议p表示查询占用的程序l表示查询正在监听的程序查看那个进程占用了xxx端口lsof -i:xxx查看进程号为xxx的进程在哪里ps -ef|grep xxxps -ef |grep 程序名netstat -nltp |gre...
分类:
系统相关 时间:
2015-06-03 19:36:29
阅读次数:
193
加载GRE模块modprobeip_gre创建Tunnel名为officeiptunneladd
officemodegreremote111.206.164.122local111.206.0.88ttl255iplinksetoffice
up为tunnel增加IP地址ipaddadd
10.100.100.1/30devoffice创建一个路由表,表名为136iprouteadddefaultvia103.246.132.61table136创建一..
分类:
系统相关 时间:
2015-06-02 15:34:05
阅读次数:
279