File Listing

Chuck Swiger cswiger at mac.com
Mon Jan 10 21:19:37 UTC 2011


On Jan 10, 2011, at 12:43 PM, peter at 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



More information about the freebsd-questions mailing list