摘要: 29 May 2013 In this post, I’m going to introduce you to policy routing as implemented in recent versions of Ubuntu Linux (and possibly other Linux dis 阅读全文
posted @ 2016-03-21 17:01 wz0314 阅读(309) 评论(0) 推荐(0) 编辑
摘要: http://rpmfind.net/linux/RPM/index.html http://pkgs.org/ https://sourceforge.net/ 阅读全文
posted @ 2016-03-21 16:43 wz0314 阅读(137) 评论(0) 推荐(0) 编辑
摘要: In this article I want to share to you on how to create and configure vlan on Linux through Cisco Catalyst Switch. Requirements: 1. Linux installed on 阅读全文
posted @ 2016-03-21 16:27 wz0314 阅读(448) 评论(0) 推荐(0) 编辑
摘要: [root@test ~]# fping -a -g 192.168.40.1 192.168.40.240 |nl #-a 扫描alive主机,-g扫描一个段的ip地址 [root@test ~]# fping -a -g 192.168.40.0/24 |nl #扫描40网段存活的主机 [roo 阅读全文
posted @ 2016-03-21 16:23 wz0314 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 下面主要介绍一下,在CentOS命令行环境下如何配置 ADSL 联网: 阅读全文
posted @ 2016-03-16 17:55 wz0314 阅读(995) 评论(0) 推荐(0) 编辑
摘要: awk删除文件第一列 1.采用awk awk '{$1="";print $0}'file 2.采用sed sed -e 's/[^]* //'file sort -R file 随机排列文件 阅读全文
posted @ 2016-01-24 22:02 wz0314 阅读(2526) 评论(0) 推荐(0) 编辑
摘要: Linux下长时间ping网络加时间戳并记录到文本由于一些原因,比如需要检查网络之间是否存在掉包等问题,会长时间去ping一个地址,由于会输出大量的信息而且最好要有时间戳,因此我们可以使用简单的几个shell命令组合就可以实现:长时间ping一个地址,记录每次ping的时间戳,并输出到文本保存,另外... 阅读全文
posted @ 2016-01-19 00:04 wz0314 阅读(2813) 评论(0) 推荐(0) 编辑
摘要: dos 固定ip命令**********************************************************************************************************************netsh interface ip se... 阅读全文
posted @ 2015-12-30 10:54 wz0314 阅读(288) 评论(0) 推荐(0) 编辑
摘要: yum install apr-util -ymkdir abcd abyum -y install yum-utils -yyumdownloader httpd yum localinstall httpd-2.2.15-26.el6.centos.x86_64.rpmrpm2cpio htt... 阅读全文
posted @ 2015-12-16 23:17 wz0314 阅读(950) 评论(0) 推荐(0) 编辑
摘要: vim 显示颜色脚本 echo TERM=xterm >>/root/.bash_profile echo export TERM >>/root/.bash_profile source /root/.bash_profile yum install vim-common vim-enhanced 阅读全文
posted @ 2015-11-27 12:12 wz0314 阅读(665) 评论(0) 推荐(0) 编辑