#!/bin/bashtime=`date +%H:%M:%S`echo $timeif [[ "$time" > "00:00:01" ]] && [[ "$time" < "11:30:00" ]]thenecho "当前时间还没到中午"elseecho "已过中午,请休息"fi
[db:关键字]