From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:18:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CB2B10656AA for ; Mon, 10 Jan 2011 21:18:12 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id E5D658FC19 for ; Mon, 10 Jan 2011 21:18:11 +0000 (UTC) Received: from overdrive.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id F2FB1F7419; Mon, 10 Jan 2011 16:18:10 -0500 (EST) Date: Mon, 10 Jan 2011 16:18:10 -0500 From: Bill Moran To: peter@vfemail.net Message-Id: <20110110161810.abab2044.wmoran@potentialtech.com> In-Reply-To: <20110110211331.E12A6106566B@hub.freebsd.org> References: <20110110211331.E12A6106566B@hub.freebsd.org> Organization: Bill Moran X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: File Listing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2011 21:18:12 -0000 In response to peter@vfemail.net: > > 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. ls -aR / will give you a complete listing, assuming you have permissions to all the directories. You can add other options if you want to change the formatting of the output. You can also do 'find /', the output of which may be more appealing, depending on what you're trying to accomplish. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/