发布网友
共1个回答
热心网友
用 sleep 命令
#!/bin/bash
......
echo "before sleep"
#下一行让当前脚本暂停2秒
sleep 2s
echo "after sleep"
.....