Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 05:34:30 +0000
From:      Tony Finch <dot@dotat.at>
To:        Warner Losh <imp@village.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Who broke "ls" in FreeBSD? and why?
Message-ID:  <20001031053430.X4137@hand.dotat.at>
In-Reply-To: <200010241757.LAA17136@harmony.village.org>
References:  <20001024081136.K1604@puck.firepipe.net> <scott@scottyelich.com> <12367.972372237@winston.osd.bsdi.com> <20001024081136.K1604@puck.firepipe.net> <200010241757.LAA17136@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@village.org> wrote:
>
>For normal users, ls -a lists all files, not counting . and .., but
>for root it does list all files.

No, it always lists all files.

>ls -A lists all files for normal users, but omits . and .. for root.

No, it always lists all files except for "." and "..".

-A is on by default for root with most versions of ls, notably not
including GNU ls.

Tony.
-- 
en oeccget g mtcaa    f.a.n.finch
v spdlkishrhtewe y    dot@dotat.at
eatp o v eiti i d.    fanf@covalent.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001031053430.X4137>