2016-08-18 77 views

回答

1

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

timeout 5s sleep 1s && (>&2 echo "Successful") || (>&2 echo "Timed out") 
相關問題