
Linux Application
文章平均质量分 74
wunderup
这个作者很懒,什么都没留下…
展开
-
diff和sdiff使用心得
在Linux下,有很多个文档比较工具,diff,sdiff, comm, cmp等。整体来说都不是很好用。相对而言,还是sdiff功能比较强大一些。Example 1: sdiff -s 1.txt 2. txt-s:--suppress-common-lines:Do not print common lines-w columns--width=co原创 2013-10-18 15:28:37 · 4847 阅读 · 0 评论 -
如何让Linux成为一台路由器
How to make Linux machine run as a router?默认情况下,Linux机器并不会以路由器的模式跑,而是以host形式运行。让Linux机器以router形式运行,有一定的好处,可以让Linux的某个interface进数据包,查路由表,从另外一个interface路由出去。就像一台真正的路由器。但是可以通过如下ip_forward进行控制?原创 2013-10-18 17:42:14 · 940 阅读 · 0 评论 -
Linux之runlevel
也许是因为system V的缘故吧,Linux有很多runlevel.在inittab的注释文件中,说明的很清楚。[root@localhost run]# cat /etc/inittab# inittab is only used by upstart for the default runlevel.## ADDING OTHER CONFIGURATION HERE WI原创 2013-10-21 15:15:35 · 2029 阅读 · 0 评论 -
Linux的Service之解析
Linux系统下的服务,可以在/etc/rc.d/init.d目录下查询到。比如常用的Apache服务,对应的是httpd,如果需要启动该服务,就可以使用service命令进行控制。[root@localhost rc.d]# ls -l /etc/rc.d/init.d/total 416-rwxr-xr-x. 1 root root 1708 Aug 26 2010 abr原创 2013-10-20 22:27:08 · 4314 阅读 · 0 评论 -
System V之我见
在查看很多系统性的文件和资料时,经常谈到system V, 有些是脚本。比如:service(8) service(8)NAME service - run a System V init scriptSYNOPSIS s原创 2013-10-21 13:19:35 · 3863 阅读 · 1 评论 -
CSR1000v XML file over KVM
备份一下,可以参考。virsh dumpxml csr1000v-1 CSR1000V-1 d9f35a4c-de68-49f4-abb9-d8538af1e97a 4194304 4194304 2 /machine hvm Haswell-noTSX原创 2016-11-01 10:36:03 · 888 阅读 · 0 评论