Aug
22nd
Sat
permalink
#######################
# snapshot information
# super primitive way to keep a regular snapshot of key files and configs
# does not replace using backup, change control and snort
#######################
cd /root
netstat -rn > gateway
df -h > disk_usage
swapinfo > swap_usage
ifconfig > nic_settings
cp /etc/resolv.conf /root/resolv.conf
cp /var/run/dmesg.boot /root/dmesg.boot
# I find it useful reference and comparison to have these original snapshot values around
— from my my old crib sheet