The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need help in IF condition!! raghav1982 Shell Programming and Scripting 12 03-28-2008 11:35 AM
Need help in While Condition raghav1982 Shell Programming and Scripting 5 10-30-2007 03:11 PM
if..else condition dr46014 Shell Programming and Scripting 3 10-29-2007 08:14 PM
if condition ravi raj kumar Shell Programming and Scripting 1 04-06-2007 02:01 AM
help with if condition rkap UNIX for Dummies Questions & Answers 2 05-23-2005 04:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-26-2006
Registered User
 

Join Date: Aug 2006
Posts: 45
if condition

Can i have following if condition

if [ Condition ]
then
else
statements execute
fi
Reply With Quote
Forum Sponsor
  #2  
Old 09-26-2006
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Supposing "Condition" is OK, no, you need to execute something between "then" and "else". Just refuse the condition or put a ":"
Regards.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:56 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