From owner-freebsd-newbies Tue Jul 23 14:25: 8 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6B2937B400 for ; Tue, 23 Jul 2002 14:25:06 -0700 (PDT) Received: from fep6.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D7C43E31 for ; Tue, 23 Jul 2002 14:25:06 -0700 (PDT) (envelope-from dlavigne6@cogeco.ca) Received: from d226-33-213.home.cgocable.net (d226-33-213.home.cgocable.net [24.226.33.213]) by fep6.cogeco.net (Postfix) with ESMTP id C52724CC8; Tue, 23 Jul 2002 17:25:00 -0400 (EDT) Date: Tue, 23 Jul 2002 17:30:05 -0400 (EDT) From: Dru X-X-Sender: dlavigne6@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca To: Mack Lobell Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: Why does /bin/ls show dot-files when logged in as root? In-Reply-To: Message-ID: <20020723172703.M158-100000@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 23 Jul 2002, Mack Lobell wrote: > Hi, > > i have a stupid ls question. When i hit /bin/ls as root i get a list > including dot-files. If i hit /bin/ls as a normal user i don't get any > dot-files, how come? > > Is this configurable? Take a peek at /root/.cshrc and you'll see this alias: alias ls ls -Fa the a shows all files (including the hidden or dot files) and the F puts a / after directories and a * after executables. You can put the same alias in your regular user's shell file. Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message