![]() |
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 |
| sth wrong of gcc | zither | AIX | 2 | 01-02-2008 01:57 AM |
| can someone tell me what im doing wrong here | iago | UNIX for Dummies Questions & Answers | 2 | 09-10-2007 09:20 AM |
| Whats wrong with the syntax | dsravan | Shell Programming and Scripting | 4 | 08-10-2006 05:41 PM |
| what am i doing wrong | jzocco | Shell Programming and Scripting | 1 | 05-25-2006 03:55 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Code:
startApache="/usr/local/apache2/bin/apachectl start" if [ -f "$startApache" ] ; then . $startApache fi Code:
action=start apache="/usr/local/apache2/bin/apachectl" if [ -f "$apache" ] ; then . $apache $action fi |
|
||||
|
Quote:
the 1st one didn't work, but the 2nd one did. Why wouldn't the 1st one work? Cheers. coolboarderguy... |