[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with scripting



On Apr 7, 2005 11:32 AM, michael <linux@networkingnewsletter.org.uk> wrote:
> sounds like homework to me but how about, for bash shell:
>  let num=`find . -type d -maxdepth 1 | wc -l`-1;echo $num

Or
num=`find / -type d -uid <user id> | wc -l`

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com



Reply to: