|
How can i check for a day
Hi,
When i tried this I am getting bad number
if [[ $(date '+%a') -eq Sat ]]; then now=saturday echo $now; else now=notsaturday echo $now; fi
How can i check for the same.
Thanks in advance
(I am new to Unix and so i raise some silly questions, please dont mistake me)
cheers,
gops
|