[SunHELP] Newbie Questions

Kalusniak, Jeff sunhelp at sunhelp.org
Wed Jan 31 09:47:39 CST 2001


This works on my 2.6 and 7 boxes.

-----Original Message-----
From: Marc Belanger [mailto:mbelang1 at travelers.com]
Sent: Tuesday, January 30, 2001 11:23 PM
To: sunhelp
Cc: Enjoyer at aol.com
Subject: Re: [SunHELP] Newbie Questions


"Kalusniak, Jeff" wrote:
> 
> 1) Did you look at the man page?
> find / -mount -size +5000000c

This doesnt seem to work on my box. Solaris 2.6, it still goes through the
directories.

Try this quick script. It outputs in ls -l format. Make sure you 'chmod 700
srch.sh'
before you run it.

#!bin/sh
# srch.sh
# Usage:  ./srch.sh <dir>
ls -l $1 > ~/.tmpfile
awk '$5 >= 5000000 {print}' ~/.tmpfile
rm ~/.tmpfile
exit 0

Oh, by the way, the Sunhelp archives are at:
http://www.sunhelp.org/pipermail/sunhelp/

-Marc

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list