![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| is there any way to check if some ip is taken ? | umen | UNIX for Dummies Questions & Answers | 4 | 02-08-2006 07:42 AM |
| Script to check for a file, check for 2hrs. then quit | mmarsh | UNIX for Dummies Questions & Answers | 2 | 09-16-2005 11:46 AM |
| Can you check this alias? | guelpth | UNIX for Dummies Questions & Answers | 0 | 02-18-2005 04:38 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
Hi ,
With you people around , I think i can go for some complicated scripts. I am really happy with the way I am getting the replies. Thanks vgersh99 & Rishi (for correcting me about eq sign and for providing the solution). cheers, gops |
|||
| Google UNIX.COM |