Skip to content

Instantly share code, notes, and snippets.

@ninehills
Created Mar 9, 2011
Embed
What would you like to do?
Linux下用来延时执行命令的小脚本
#!/bin/bash
# 参数1:延迟的时间,单位s
# 参数2:需要执行的命令
# example:
# delay 10 "conky -d"
sleep $1
exec $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment