Archive for September, 2015

[Internet] 5620模版

2015.9 28

service-port vlan 123 eth 0/1/1 multi-service user-vlan unt rx-cttr 6 tx-cttr 6

service-port vlan %d eth 0/1/%d multi-service user-vlan unt rx-cttr [Read More…]

[我的日志] 近视眼们,注意了

2015.9 26

摘自网络

首先申明我是一个中医,所谓的高度近视西医好像没办法,我介绍一个中医办法,原理我就不说了,因为你们不懂经络,只要有恒心,坚持三年,即使800度近视也可以根治。

方法:头固定,眼球尽量左转25下,然后右转25下,一般后颈部就会有发胀的感觉,用手按摩揉一揉,马上就缓解了,这个时候你注意眼 [Read More…]

[Internet] ONU注册OLT脚本及说明

2015.9 26

//先进入EPON单板
interface epon 0/1
//注册onu设备,通过MAC地址注册,ONT的ID从0开始顺序排列,同时编辑楼号单元
QD-TangYiLuJu-MA5680T(config-if-epon-0/1)#ont add 0 0 mac-auth 0018-82D9-B4 [Read More…]

[我的日志] 大烟

2015.9 24

罂粟 种植多少构成犯罪? [Read More…]

[Shell编程] SHELL中如何获得管道前面的命令的返回值

2015.9 1

To know the exit status of the elements of a pipeline

cmd1 | cmd2 | cmd3

bash

The exit codes are provided in the PIPESTATUS special array.

cmd [Read More…]

[Shell编程] awk 输出单引号双引号

2015.9 1

输出双引号 双引号中加反斜杠再加引号。

awk ‘{print “\””}’

输出单引号:双引号中加双单引号,中间再加 反斜杠和单引号

awk ‘{print ” ‘ \’ ‘ “}’ [Read More…]