#!/bin/bash while sleep 5 do sensors >> ~/sensors_dump done