在 cron 脚本中,我想以以下格式记录 CPU 温度
[datetime] temp
使用date和acpi -t。如何将 ( >>) 这两个命令重定向到日志文件中的一行?
date
acpi -t
>>
bash stdout
bash ×1
stdout ×1