Hi,
 >
 > > P.S. Noch viel wichtiger: Ich will benutzte Resourcen von
 > > Unterverzeichnissen wissen. Angenommen ich bin in /usr/home/, wie kann
 > > ich
 > > darstellen wer wieviel Files/Bytes nutzt?
 hier ist ein kleinens Sctript aber OHNE GEWÄHR +  Root rechte musste haben
 ____________________________________________
 find /usr/home/erkaN/* -name * -print  > ./versuch.txt
 cat ./versuch.txt | nl -s "ls -n" | cut -c7-80 | ksh | cut -c30-40 > /size
 awk '{total +=$1}
 END{ print "Der User erkaN benutz   ", total,"KB" } ' /size
 rm /size
 __________________________________________
 erkaN
>
> --
> The linux philosophy is laugh in the face of danger.
>
> L. Torvalds
>
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 25 May 2001 - 15:03:21 CEST