Loading

shell中判断是否是月末的方法

判断今天是不是一月的最后一天:

 

如果$(TZ=IST-32 date +%d)是1就是月末了。

posted @ 2017-07-11 17:08  头痛不头痛  阅读(1439)  评论(0编辑  收藏  举报