![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
if condition
Can i have following if condition
if [ Condition ] then else statements execute fi |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Supposing "Condition" is OK, no, you need to execute something between "then" and "else". Just refuse the condition or put a ":"
Regards. |
||||
| Google The UNIX and Linux Forums |