31 Dec 2012

Migrate to new Certificate Authority, while another one is in production

http://serverfault.com/questions/276342/adding-new-root-enterprise-ca-without-disturbing-existing-one

5 Dec 2012

OSPF packets

Intra-area - O
Inter-area - O IA (Summary routes)
External - O E2 or O E1

Preference order for destinations with multiple routes:
  1. Intra-area 
  2. Inter-area
  3. External E1 (external+internal cost)
  4. External E2 (only external cost)
LSA Types:

Type 1 (RL): Router Links.
Type 2 (NL): Network Links.
Type 3 (SL): Summary Links.
Type 4 : ASBR Summary Links.
Type 5 (EL): External Links.

17 Sept 2012

List largest folders (sorted)


du -sk * | sort -rn | while read size fname; do for unit in k M G T P E Z Y; do if [ $size -lt 1024 ]; then echo -e "${size}${unit}\t${fname}"; break; fi; size=$((size/1024)); done; done|more