公告版位

目前日期文章:201608 (4)

瀏覽方式: 標題列表 簡短摘要

1. Install packages
# yum install dhcp*
# yum install radvd

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

# mkdir -p /tmp/cores
# chmod a+rwx /tmp/cores
# echo "/tmp/cores/%e.%p.%h.%t.core" > /proc/sys/kernel/core_pattern

------------------------
%p: pid
%: '%' is dropped
%%: output one '%'
%u: uid
%g: gid
%s: signal number
%t: UNIX time of dump
%h: hostname
%e: executable filename
------------------------

# ulimit -c unlimited
# kill -s SIGSEGV $$

Reference: https://sigquit.wordpress.com/2009/03/13/the-core-pattern/

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

Filter ChangeList for submitted from 2016/08/10 to Now.
# p4 changes -s submitted //depot/code/...@2016/08/10,@now

Filter ChangeList for pending from 2016/08/10 to 2016/08/14
# p4 changes -s pending //depot/code/...@2016/08/10,@2016/08/15

Show ChangeList 123456 for editing files.
# p4 files @=123456

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

$ sudo vim /etc/network/interfaces
-------------------------------------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.10.100.1
netmask 255.255.0.0
gateway 10.10.0.254
#post-up route add default via 10.10.0.254 dev eth0

auto eth1
iface eth1 inet dhcp
post-up route del default dev eth1
-------------------------------------------------------------------------

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()