From owner-freebsd-questions Mon Jan 28 22:27:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 17FBA37B404 for ; Mon, 28 Jan 2002 22:27:21 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id ECEC82B74A; Tue, 29 Jan 2002 07:27:16 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id F274837D; Tue, 29 Jan 2002 17:27:10 +1100 (EST) Date: Tue, 29 Jan 2002 17:27:10 +1100 From: Edwin Groothuis To: AMI Root Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question about cat command Message-ID: <20020129172710.U823@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , AMI Root , freebsd-questions@FreeBSD.ORG References: <20020129060826.17449.qmail@web9607.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020129060826.17449.qmail@web9607.mail.yahoo.com>; from amiroot@yahoo.com on Tue, Jan 29, 2002 at 02:08:26PM +0800 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 On Tue, Jan 29, 2002 at 02:08:26PM +0800, AMI Root wrote: > I'm using FreeBSD4.4 on a P5-166 machine with 64MB > Ram. I found that I can "cat" a directory and it will > list garbage. Is it a bug or I made anything wrong??? Cat will display any file, wether it's a binary or not. Directories are nothing more than binary files. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message