Date: Mon, 17 Jun 2002 07:25:10 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.Org> Subject: Re: ls, du, df, and fstab Message-ID: <20020617052509.GW64435@freepuppy.bellavista.cz> In-Reply-To: <20020616213840.M423-100000@66-75-1-142.san.rr.com> References: <20020616213840.M423-100000@66-75-1-142.san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 16 Jun 2002 21:43:32 -0700 (PDT)
> From: Peter Leftwich <Hostmaster@Video2Video.Com>
> To: FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.Org>
> Subject: ls, du, df, and fstab
>
> 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!
the BSD ls(1) is quite conservative, but you can install the GNU
ls(1). It's In The Ports(tm).
> 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...
du -sk *
> 3. Why does the df command not include a listing for the "swap" that my
> /etc/fstab appoints?
no idea
> 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?
do you mean the "noauto" option?
/dev/acd0c /cdrom cd9660 ro,noauto 0 0
/dev/fd0c /floppy ufs rw,noauto 0 0
--
FreeBSD 4.5-STABLE
7:18AM up 13 days, 21:07, 8 users, load averages: 0.04, 0.02, 0.00
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?20020617052509.GW64435>
