Any idea how i can use timeout command with condition in linux and shell script

后端 未结 0 917
迷失自我
迷失自我 2021-01-25 19:56

aim working on some shell script , i would like to check the following command

df -h

if timeout more than 60 second then echo "error " else pass.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题