Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 13:19:14 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        peter@vfemail.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: File Listing
Message-ID:  <9ED07C3D-3AC9-4C0D-9A53-D1441C057466@mac.com>
In-Reply-To: <20110110211331.E12A6106566B@hub.freebsd.org>
References:  <20110110211331.E12A6106566B@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 10, 2011, at 12:43 PM, peter@vfemail.net wrote:
> Is there one single-line command I can execute that will list every file in every directory on my FreeBSD box?  I've been fussing with the ls and du commands, but the output is never quite complete. 

du -a /
find / -type f      # remove the "-type f" argument if you want every file, instead of just "normal" files

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ED07C3D-3AC9-4C0D-9A53-D1441C057466>