0
我想用ping掃描打開一個xterm,我不希望腳本在xterm關閉之前暫停。BASH腳本打開xterm並繼續執行
我使用
xterm -hold -e ping localhost
腳本看起來像
#!/bin/bash
echo "hello"
xterm -hold -e ping localhost
echo "the script did not halt"
echo "see the script is going and xterm is running at the same time"
謝謝你的。很棒! – theloosegoos