![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question about testing in shell programming | thungmail | Shell Programming and Scripting | 6 | 04-09-2008 11:04 AM |
| question about testing in shell programming(modifications were made) | thungmail | Shell Programming and Scripting | 2 | 04-08-2008 12:51 PM |
| question about testing in shell programming | thungmail | Shell Programming and Scripting | 3 | 04-05-2008 07:29 AM |
| question about testing in shell programming | thungmail | Shell Programming and Scripting | 3 | 04-02-2008 07:46 PM |
| question about about Shell programming | thungmail | Shell Programming and Scripting | 1 | 04-01-2008 10:40 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
question about testing in shell programming
I have 2 different directories. The first has 2 sub-folders A and B. The second as 2 sub-folders C and D and script named "script".There is a code of "script" to list 2 sub-folders C and D
Code:
#!/bin/sh for file in * do [ -d $file ] && echo $file done |
| Forum Sponsor | ||
|
|