Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 17:27:10 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        AMI Root <amiroot@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question about cat command
Message-ID:  <20020129172710.U823@k7.mavetju.org>
In-Reply-To: <20020129060826.17449.qmail@web9607.mail.yahoo.com>; from amiroot@yahoo.com on Tue, Jan 29, 2002 at 02:08:26PM %2B0800
References:  <20020129060826.17449.qmail@web9607.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020129172710.U823>