![]() |
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 |
| how to compare all files in one unix box has been to copied to another unix box | sravanreddym | Shell Programming and Scripting | 9 | 07-03-2008 11:43 AM |
| compare a variable against array elements | fearboy | Shell Programming and Scripting | 2 | 06-27-2008 05:45 PM |
| compare variable against regular expression? | finalight | Shell Programming and Scripting | 6 | 05-22-2008 06:20 AM |
| Compare between Unix and Windows | msahoud71 | UNIX for Dummies Questions & Answers | 3 | 05-23-2007 06:26 AM |
| Compare the content of a variable with a string | robdai | UNIX for Dummies Questions & Answers | 2 | 11-01-2005 07:29 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
compare two variable value in unix
dear all
i had two variable in my script. var1 and var2 var1= 10 ( it will part of date op ) Fri Aug 8 10:05:09 IST 2008 var2=9 ( it will op of ls -ltr and time part of it.) now i want to compare of them and want to do some task if both are are not same. kindly let me know possible way... rgd jaydeep |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|