#!/bin/rc fn doit { for (i in `{du | awk '{print $2}'}) { ls -l $i } } cd $1 doit