Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 01:53:36 -0500
From:      Michael Joyner <mjoyner2@hq.dyns.cx>
To:        Ertan Kucukoglu <ek@kalyonbilgisayar.com.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ls shows hidden files when used by root
Message-ID:  <1036047216.3dc0d3702e561@imp.hq.dyns.cx>
In-Reply-To: <web-7011959@doruk.net.tr>
References:  <web-7011959@doruk.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ertan Kucukoglu <ek@kalyonbilgisayar.com.tr>:

> 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




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