pastebin - collaborative debugging tool RSS

Posted by Anonymous on Thu 23rd Apr 2015 08:04
raw | new post

  1. #!/usr/bin/env bash
  3. if [ ! -d ~/logs_custom ]
  4.   then mkdir ~/logs_custom
  5. fi
  7. echo -n $(date +%F_%T%z)" "; cat /sys/class/thermal/thermal_zone0/temp >> ~/logs_custom/thermal_"$(date +F)".log

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}

All content is user-submitted.
The administrators of this site ( are not responsible for their content.
Abuse reports should be emailed to us at