2016-08-18 82 views

回答

1

你可以使用ssh命令执行程序可以正常工作的shell脚本功能。

timeout 5s sleep 1s && (>&2 echo "Successful") || (>&2 echo "Timed out") 
相关问题