That should work (maybe better) too, i escaped extra space by \ while you used " ". Fine.
Regards, John Boyd, 05/08/09 00:58:
temp0=`envstat | grep cpu0 | cut -d \ -f 9 | cut -b 1,2` temp1=`envstat | grep cpu1 | cut -d \ -f 9 | cut -b 1,2`Hello , I had to use " envstat | grep cpu0 | cut -d " " -f 9 | cut -b 1,2 " instead to get my cpu temperature . I also have a core 2 duo processor . That is use " " instead of \ in the command . Best regards , John P.S. Thanks for the script .