From owner-freebsd-questions Tue Oct 1 9:58:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13C7E37B401 for ; Tue, 1 Oct 2002 09:58:56 -0700 (PDT) Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3BE243E75 for ; Tue, 1 Oct 2002 09:58:54 -0700 (PDT) (envelope-from barry.byrne@wbtsystems.com) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.6/8.12.6) with ESMTP id g91GwlU2003264; Tue, 1 Oct 2002 17:58:47 +0100 (IST) From: "Barry Byrne" To: "David Ouyang" , "Question FreeBSD.ORG" Subject: RE: File size get out of control Date: Tue, 1 Oct 2002 17:58:45 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20021001164820.81837.qmail@web20002.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-WBT-Authenticated-User: bb X-Scanned-By: slate/MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David: You might want to put some white space in: find / -size `expr 10 \* 1024 \* 2` -print Also, be aware that the -size option expects 512 byte blocks. If you a looking for a size in bytes, append a 'c'. e.g.: find / -size `expr 10 \* 1024 \* 2`c -print - Barry > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David Ouyang > I try use find to find files larger then 10mb: > > find . -size +'expr 10\*1024\*2' -print > > but I get error msg: > > find:invalid argment '+expr 10\*1024\*2 to '-size' > > > so what is correct command pramater to find? > also am i being hacked, if so how can i check? > > > Thanks in advance. > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message