From owner-freebsd-questions Wed Oct 30 23: 5:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A4A637B401 for ; Wed, 30 Oct 2002 23:05:49 -0800 (PST) Received: from ariel.ucs.unimelb.edu.au (ariel.ucs.unimelb.edu.au [128.250.20.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA00943E42 for ; Wed, 30 Oct 2002 23:05:47 -0800 (PST) (envelope-from jrhoden@unimelb.edu.au) Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41]) by ariel.ucs.unimelb.edu.au (8.12.3/8.12.3) with ESMTP id g9V75fiB012508; Thu, 31 Oct 2002 18:05:41 +1100 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Jacob Rhoden Organization: University of Melbourne To: freebsd-questions@freebsd.org Subject: Re: ls shows hidden files when used by root Date: Thu, 31 Oct 2002 18:05:40 +1100 X-Mailer: KMail [version 1.4] References: <1036047216.3dc0d3702e561@imp.hq.dyns.cx> In-Reply-To: <1036047216.3dc0d3702e561@imp.hq.dyns.cx> Cc: "Ertan Kucukoglu" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210311805.40235.jrhoden@unimelb.edu.au> 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 On Thu, 31 Oct 2002 17:53, Michael Joyner wrote: > Quoting Ertan Kucukoglu : > > Hi all, > > > > When I su to root or login as root from console. ls shows > > hidden files, too. No matter I use "ls -a" or "ls" result > > is same: > per 'man ls' > The following options are available: > -A List all entries except for . and ... Always set for the > super- user. You could make an alias so ls actually does 'su normaluser -c "ls"' Or you could just not use your root account for file management. Regards, Jacob Jacob Rhoden Phone: +61 3 8344 6102 ITS Division Email: jrhoden@unimelb.edu.au Melbourne University Mobile: +61 403 788 386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message