On Mon, 2003-01-20 at 08:38, Erik Price wrote: > [erikprice@host:/home/erikprice]$ for i in `ls`; do "`which du` -khs > $i"; done [ ... ] > > As you can see in the above, I've had to put `which du` in the "do" > section (because for some reason the "du" command isn't found if I don't > specify an absolute path), and the filename arguments passed to the "do" > section aren't found. If I just type "du -khs bak" then it works fine.
Get rid of those double quotes! :) for i in `ls`; do `which du` -khs $i; done Ben _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss