#!/bin/sh # for f in /etc/* do if [ -d $f ] then echo $f fi done exit 0