# ip route add remote-ip via gw-ip src alias-ip
(a reminder to myself)
Stsimb's blog
# ip route add remote-ip via gw-ip src alias-ip
(a reminder to myself)
Marios asked me to elaborate a little on the Red Hat Certification Exams and my preparation.
I found the lab based exams much better than other multiple choice exams. It doesn’t matter if you do something using the command line, a gui tool, or if you write a program yourself to do the job. It’s real world simulation!
The preparation was self-study using the following:
No book covering RHEL6 existed while I was preparing, but I believe one is available now (ISBN 0321767950) and others are on their way (e.g. ISBN 0071765654).
I also recently discovered OpenRHCE by @texastwister, an effort to collaboratively prepare study materials to help candidates achieve Red Hat’s RHCE certification, under a CC license.
I found the journey of answering all the above quite a rewording experience. I have learned new things and I can definately troubleshoot SELinux issues faster than before ;-)
All modern hard disks are S.M.A.R.T. enabled. «SMART is a monitoring system for hard disks to detect and report on various indicators of reliability, in the hope of anticipating failures».
Most people never pay attention to the numbers, some people only pay attention to the templerature, and if something bad happens (a failure) then they give some attention to the error counters.
But here are two counters that I found very interesting: Power_On_Hours and Power_Cycle_Count.
A hard disk used in my desktop machine
Power_On_Hours 7566
Power_Cycle_Count 314
A hard disk used in a server machine
Power_On_Hours 45030
Power_Cycle_Count 28
To see this info about your hard disk, use «smartctl -a /dev/sda | grep Power».
smartctl is part of the smartmontools package in most linux distros.
This was triggered by the following tweet
Write a regular expression to match a MAC address. Go.
Take 1: ([0-9a-f]{2}:){5}[0-9a-f]{2}
Matches: 00:19:db:d0:8e:3c
Take 2: ([0-9a-fA-F]{1,2}[:-]){5}[0-9a-fA-F]{1,2}
Matches: 00-c-DB-a0-8E-f