From owner-freebsd-questions Wed Oct 30 22:55:46 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 19CC637B401 for ; Wed, 30 Oct 2002 22:55:45 -0800 (PST) Received: from dsl-64-128-185-9.telocity.com (dsl-64-128-185-9.telocity.com [64.128.185.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258A443E75 for ; Wed, 30 Oct 2002 22:55:39 -0800 (PST) (envelope-from mjoyner2@hq.dyns.cx) Received: (from root@localhost) by dsl-64-128-185-9.telocity.com (8.12.6/8.11.5) id g9V6riPX096141; Thu, 31 Oct 2002 01:53:44 -0500 (EST) (envelope-from mjoyner2@hq.dyns.cx) Received: from imp.hq.dyns.cx (www@dsl-64-128-185-9.telocity.com [64.128.185.9]) by dsl-64-128-185-9.telocity.com (8.12.6/8.11.5av) with ESMTP id g9V6rg3K096132; Thu, 31 Oct 2002 01:53:42 -0500 (EST) (envelope-from mjoyner2@hq.dyns.cx) Received: (from www@localhost) by imp.hq.dyns.cx (8.12.6/8.12.6/Submit) id g9V6rbo6096100; Thu, 31 Oct 2002 01:53:37 -0500 (EST) X-Authentication-Warning: imp.hq.dyns.cx: www set sender to mjoyner2@hq.dyns.cx using -f Received: from 64.128.185.9 ( [64.128.185.9]) as user mjoyner2@localhost by imp.hq.dyns.cx with HTTP; Thu, 31 Oct 2002 01:53:36 -0500 Message-ID: <1036047216.3dc0d3702e561@imp.hq.dyns.cx> Date: Thu, 31 Oct 2002 01:53:36 -0500 From: Michael Joyner To: Ertan Kucukoglu Cc: freebsd-questions@freebsd.org Subject: Re: ls shows hidden files when used by root References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.7 X-Originating-IP: 64.128.185.9 X-Virus-Scanned: by AMaViS perl-11 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 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: > > [root@escalade ~]ls > .ICEauthority .ncrecent a.out > .Xauthority .pinerc book > Is there a way to change this behaviour? I do not wish to > see hidden files as root. When I need I could always use ls > -a. > per 'man ls' The following options are available: -A List all entries except for . and ... Always set for the super- user. there is no listed option to hide dot files sorry! :) ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message