I want to output two commands to a file. I want the exact time (date) AND temperature (sensors) to go to file every 5 minutes. I know how to output one command to a file, but two? How to write such script?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community