回忆之城
生命在于折腾
posts - 575,comments - 9,trackbacks - 0
<2013年8月>
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用链接

留言簿(5)

随笔分类(628)

随笔档案(575)

文章分类(5)

收藏夹

interesting

testing blog

搜索

  •  

最新评论

阅读排行榜

评论排行榜

v=$(mysql -u$user -p$pass -D $db -e "select count(*) from user;")
判断 host 是否为0 就可以
if [ $v -eq 0 ]
then echo "NOT EXISTS"
fi
posted on 2014-04-28 15:54 回忆之城 阅读(679) 评论(0)  编辑 收藏 引用 所属分类: unix/linuxshell
只有注册用户登录后才能发表评论。