Technical Goulash

ifconfig deprecated, use ip (bastards)

ifconfig deprecated, use ip (bastards)

Syntax ip OBJECT COMMANDip [options] OBJECT COMMANDip OBJECT help OBJECTS: Object Abbreviation Purpose link l Network device. address aaddr Protocol (IP or IPv6) address on a device. addrlabel addrl Label configuration for protocol address selection. neighbour nneigh ARP or NDISC cache entry. route r Routing table entry. rule ru Rule […]

Script Archive: GPS Check

Script Archive: GPS Check

!/bin/sh Build Header /bin/echo “” > /var/log/gps.log /bin/echo “Node: “/bin/hostname -f >> /var/log/gps.log /bin/echo “OS: “/bin/uname -sr >> /var/log/gps.log /bin/echo “Date: “/bin/date >> /var/log/gps.log /bin/echo “” >> /var/log/gps.log /bin/ls -l /var/log/ntpstats/clockstats >> /var/log/gps.log /bin/echo “” >> /var/log/gps.log /bin/echo “Checking for GPS errors …” >> /var/log/gps.log /bin/echo “” >> /var/log/gps.log myGPSV=/usr/bin/grep […]