Skip to content

Instantly share code, notes, and snippets.

@i3luefire
i3luefire / templogger.sh
Last active December 8, 2023 07:24 — forked from fkleon/temperature.sh
This is a variation of fkleon's temperature.sh script that puts the info in a simple text file instead of an email. It is also my first gist on github. :)
#! /bin/sh
# This is your log filename
LOGFILE=/path/to/temp.log
# Create empty file
touch $LOGFILE
# Define adastat function, which writes drive activity to temp file
adastat () {