![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| replacing numbers greater than 0 with 1 | vrms | Shell Programming and Scripting | 4 | 06-04-2008 07:40 AM |
| AWK greater than? | dlam | Shell Programming and Scripting | 6 | 03-10-2008 02:43 AM |
| greater than less than in case | sars | Shell Programming and Scripting | 2 | 02-18-2007 12:37 PM |
| AWK greater than 200 | insania | Shell Programming and Scripting | 2 | 02-05-2007 03:03 PM |
| length of data greater than 11 | thanuman | UNIX for Dummies Questions & Answers | 2 | 09-10-2004 07:13 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello every one! I need a little help. I would like to know if there is someway I can use a "greater than" condition in a shell script.
Code:
#!/usr/bin/sh
_curTime=`date +%H%M`
if [_curTime<2400] && [_curTime>0800]
then
echo "$_curTime"
fi
Thank you all! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|