服务器启动时在Mac上警报

当在Mac上运行时,当服务器HOSTNAME首先响应ping时,此命令将在终端中显示一个对话框。
.

0

linux命令:ping -o -i 30 HOSTNAME && osascript -e 'tell app "Terminal" to display dialog "Server is up" buttons "It?s about time" default button 1' 1' button default time" about "It?s buttons up" is "Server dialog display to "Terminal" app 'tell -e osascript && HOSTNAME 30 -i -o ping ping -o -i 30 HOSTNAME && osascript -e 'tell app "Terminal" to display dialog "Server is up" buttons "It?s about time" default button 1'rootopen.com
linux命令:ping -o -i 30 HOSTNAME && osascript -e 'tell app "Terminal" to display dialog "Server is up" buttons "It?s about time" default button 1' 1' button default time" about "It?s buttons up" is "Server dialog display to "Terminal" app 'tell -e osascript && HOSTNAME 30 -i -o ping ping -o -i 30 HOSTNAME && osascript -e 'tell app "Terminal" to display dialog "Server is up" buttons "It?s about time" default button 1'rootopen.com
zywb 2018-05-19 13:53:48
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章