The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
if statement ramky79 Shell Programming and Scripting 6 05-29-2008 12:17 AM
IF Statement koti_rama Shell Programming and Scripting 3 04-29-2008 01:48 AM
If statement - How to write a null statement april Shell Programming and Scripting 3 04-16-2008 10:14 AM
IF statement on a df -g hassanj UNIX for Advanced & Expert Users 1 12-18-2007 04:41 AM
If statement mariner UNIX for Advanced & Expert Users 4 12-16-2004 04:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 02-01-2008
Registered User
 

Join Date: Sep 2007
Posts: 20
Smile

u can also use this one

if [ "$data2" != "world" ] -a [ "$data1" != "hello" ]
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0