【发布时间】:2015-04-24 18:48:59
【问题描述】:
我有一个脚本,它会在一段时间后执行一个无法停止的命令,除非你终止它。如何停止命令并继续我的脚本?
假设我运行apt-get update,我想在 N 时间段内停止它,然后继续我的脚本。
【问题讨论】:
-
你能展示你的脚本吗?
-
你看
timeout命令了吗? -
echo -e "Enter monitor card id: \c" read monitorcard echo "Monitor id is: $monitorcard " echo "Starting Scan For Wps" eval 'wash -i $monitorcard 'No i Have'是的..但我会
标签: linux bash scripting command terminate