From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 23:02:00 2004 Return-Path: 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 B0E9B16A4CE for ; Mon, 15 Mar 2004 23:02:00 -0800 (PST) Received: from obrist.ephgroup.net (mail.ephgroup.net [213.129.73.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA77A43D41 for ; Mon, 15 Mar 2004 23:01:59 -0800 (PST) (envelope-from dave@ephgroup.com) Received: from daveslaptop (host81-7-12-84.adsl.v21.co.uk [81.7.12.84]) E4CE347B1F for ; Tue, 16 Mar 2004 07:01:57 +0000 (GMT) From: "Dave Carrera" To: Date: Tue, 16 Mar 2004 07:01:46 -0000 Message-ID: <002501c40b24$8c600e10$0301a8c0@daveslaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Simple file count question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 07:02:00 -0000 Hi List, I know this is going to be simple but I cant find a suitable answer by trawling the web so I ask how do I count the number of certain files in = a directory? So I am in my dir and want to count how many files begin with db and = show me the number. I hope you can help me and thank you in advance for any help you may = give Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.622 / Virus Database: 400 - Release Date: 13/03/2004 =20