[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

date - if - bash



aaaa
why isn't working? :S

if [ $(date +%H) > 10 ]; then echo "later then 10h"; else echo "before 10h"; fi;

Reply to: