The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

What's wrong with this? (bash syntax) by Control 2005-09-11 13:03:05
while {1} {cat /proc/acpi/thermal_zone/THM/temperature; sleep 1}

this should report my CPU temperature to me once a second from now till all eternity, right? But it doesn't. It just says '>'
[ Reply ]
  Try this: by perpeduumimmobl2005-09-11 13:06:46
    That works, thanks by Control2005-09-11 13:11:00
      That TCL, not sh. by imperito2005-09-11 13:17:46
        This must be a new record by Control2005-09-11 13:20:28
    while ( sleep 1 ) ; do acpi -t ; done (n/t) by Mad Marty2005-09-11 13:15:10
      *facepalm*...thank you (n/t) by Control2005-09-11 13:17:33
  um, should there be a semi after sleep 1 ? by waveydavey2005-09-11 13:08:35
    It would seem not by Control2005-09-11 13:12:01
  Theres a command for that, you know... by imperito2005-09-11 13:15:43
    And another one. Thank you. by Control2005-09-11 13:21:25
      'watch' is nifty. (n/t) by LionsPhil2005-09-11 13:41:41

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)