![]() |
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 |
| checking existance of files and directories | herojeett | Shell Programming and Scripting | 4 | 04-28-2009 07:21 AM |
| Continously checking folder and executing files | wakhan | Shell Programming and Scripting | 4 | 12-19-2008 11:16 AM |
| Checking file existance by extension | niswonp | UNIX for Dummies Questions & Answers | 3 | 09-24-2008 06:09 PM |
| Checking if any folder is opened or not? | Niroj | Shell Programming and Scripting | 11 | 09-10-2008 10:33 AM |
| checking missing files in side a folder | Nayanajith | UNIX for Dummies Questions & Answers | 4 | 06-26-2006 07:05 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
The checking of folder existance is not working...
Hi all,
I have the following code: Code:
if [ -d /home/batch/testing ]; then echo 'folder not exist'; else echo 'folder exist'; fi ANybody know the solution? thanks.. ![]() ---------- Post updated at 10:31 PM ---------- Previous update was at 10:20 PM ---------- Hi, There something wrong with my "If-Else" statement... I should put echo 'folder exist' first, not in the else part. Issue Solved.. thanks for viewing.. ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|