From owner-freebsd-questions Sun Jun 16 21:43:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.san.rr.com (smtp2.san.rr.com [24.25.195.39]) by hub.freebsd.org (Postfix) with ESMTP id 49EE837B400 for ; Sun, 16 Jun 2002 21:43:42 -0700 (PDT) Received: from 24-161-160-243.san.rr.com (24-161-160-243.san.rr.com [24.161.160.243]) by smtp2.san.rr.com (8.11.4/8.11.4) with ESMTP id g5H4hWP17888 for ; Sun, 16 Jun 2002 21:43:38 -0700 (PDT) Date: Sun, 16 Jun 2002 21:43:32 -0700 (PDT) From: Peter Leftwich X-X-Sender: root@66-75-1-142.san.rr.com To: FreeBSD Questions LIST Subject: ls, du, df, and fstab Message-ID: <20020616213840.M423-100000@66-75-1-142.san.rr.com> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 1. Does the Unix and/or FreeBSD community have any plans to add more flags to the "ls" command? I would like to see flags to sort output more easily based on creation date (ctime), modification date (mtime) and, most importantly, by filesize. Someone pointed out that `du -ak | sort -rn | more` does the same thing but some easy-to-remember ls flags would be cool! 2. Can someone assemble a command line so that du only lists the files and directories -IN- the current directory? I tried `du -ak -d 0 | more` but the dash d depth thing doesn't seem to work right... 3. Why does the df command not include a listing for the "swap" that my /etc/fstab appoints? 4. Finally, (are you still with me), is there a way I can include mounts for both my CDRW and DVD drives in my /etc/fstab even if I boot up with OR without a disc in either drive? Hugs all around, -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message