heidsoft:/etc/sysconfig/network # cat ifcfg.template ## This is a template for a network interface configuration file used with ifup.## See 'man 8 ifu...
分类:
其他好文 时间:
2014-10-09 18:57:48
阅读次数:
276
快速处理wsa的脚本
#!/bin/bash
cat n.txt |sed 's/:0%;/\n/g'|sed 's/.*warning....//g'|grep -Ev '(occur|8800)'|sort -n|uniq|sed 's/^/bind :/g'
处理mtop的脚本
#!/bin/bash
cat h.txt|sed 's/Port://g'|sed '...
分类:
其他好文 时间:
2014-10-09 18:52:47
阅读次数:
188
查看cpu信息cat /proc/cpiinfo查看ubuntu版本:cat /etc/issue查看系统是32位还是64位方法1:#查看long的位数,返回32或64 getconf LONG_BIT方法2:#查看文件信息,包含32-bit就是32位,包含64-bit就是64位file /sbin...
分类:
其他好文 时间:
2014-10-09 17:31:57
阅读次数:
222
1.查看OCR位置用户指定的位置会被放置在 /etc/oracle/ocr.loc(Liunx系统) 或 /var/opt/oracle/ocr.loc[oracle@rac4 opt]$ cat /etc/oracle/ocr.loc ocrconfig_loc=/dev/raw/raw1loca...
分类:
数据库 时间:
2014-10-09 16:01:48
阅读次数:
205
有下面一个继承体系,我们需要为其添加"=="操作符,该怎么办呢 ??class Animal{};class Cat : public Animal{};class Dog : public Animal{};如果我们为每个类重载"=="运算符,那么我们还需要重载子类与基类之间的"=="运算符,这样...
分类:
编程语言 时间:
2014-10-09 02:59:57
阅读次数:
187
linux 查看文件命令总结1、cat 查看文件内容 选项-b 空白行不显示行号。-n,空白行显示2、more 查看文件内容,通过空格键查看下一页 q键退出查看3、less 和上同,多了方向键(上下回翻)4、head 默认显示前10行。head -20 /root/install.log 显示20行...
分类:
系统相关 时间:
2014-10-09 02:25:47
阅读次数:
169
#import "ViewController.h"#import "Fish.h"#import "Cat.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super v....
分类:
其他好文 时间:
2014-10-09 01:02:17
阅读次数:
261
@73@7413:4*733522447013:5*1204854033613:**511953170672@7314:12 [logwatch@u]$ cat /opt/logs/nginx/access/log | grep "24/Sep/2014:13:5" | grep blacklist...
分类:
其他好文 时间:
2014-10-09 01:00:17
阅读次数:
242
2014年10月8号 天气:无风 雾霾 空气污染指数452 严重污染 ①cat /etc/rc.d/rc.sysyinit 将文本内容全部显示到终端 常用参数 -n 添加显示行号 shift+pageup 前翻页 shift+pagedown 后翻页 缺点:倾倒显示数据 所以只能翻页查看缓存里面的数...
分类:
系统相关 时间:
2014-10-09 00:50:58
阅读次数:
263