Projects Publications Resume Contact About Youtube |
|
log_temps.sh |
---|
#!/bin/bash for ((;;)); do DATE=`date +%Y%m%d%H%M%S` FILES=`find /sys/devices/w1_bus_master1 -name w1_slave` TEMPS=`cat $FILES | grep "t=" | sed 's/^.*t=//g'` echo -n "$DATE " for T in $TEMPS; do echo -n "$T " done echo sleep 10 done |