From owner-freebsd-questions Mon Jan 4 03:58:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA03532 for freebsd-questions-outgoing; Mon, 4 Jan 1999 03:58:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from guru.phone.net (guru.phone.net [209.157.82.120]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA03526 for ; Mon, 4 Jan 1999 03:58:53 -0800 (PST) (envelope-from mwm@phone.net) Received: (qmail 18134 invoked by uid 100); 4 Jan 1999 11:58:28 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Jan 1999 11:58:28 -0000 Date: Mon, 4 Jan 1999 03:58:28 -0800 (PST) From: Mike Meyer To: FreeBSD Questions Subject: Re: hidden files In-Reply-To: <368FE58F.B5AE8FF8@netshell.vicosa.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is the general idea... # cd /usr/src/bin/ls # ed ls.c /Root is -A/ dp dp dp w q # make install Note that it's actually -A (all but . & ..), not -a. And it's hardwired into the code, right after the test to see if the output device is a terminal or not to set the single column output mode. Date: Sun, 03 Jan 1999 19:47:59 -0200 > From: Gustavo Vieira G C Rios > To: Mark Kobussen > Cc: FreeBSD Questions > Subject: Re: hidden files > > So, how to disable "-a" option ? > I would like to see hidden files only when i pass "-a" option to "ls"! > > thanks. > > Mark Kobussen wrote: > > > > > Hi, when i "ls -l" any dir (only when i am root user) all my hidden > > > files are shown!! How can i change this ? > > > > Why, that's one of the fine joys of being 'root'! Why wouldn't you want > > to be able to see all the hidden files? Although, I must say, I'm a > > FreeBSD newbie, so there may be a way. But, as far as I know, the '-a' > > option (which shows hidden files) is ALWAYS active when you are logged > > in as root. > > > > -- > > Mark Kobussen > > IS - Honeywell, SGP Division > > mkobusse@sgp.honeywell.com > > skjellyfetti@iname.com > > ICQ#11860734 > > > > /* '94 Mitsubishi Eclipse NT 1.8L */ > > /* Fender Stratocaster: Tex-Mex, 3-Tone Sunburst */ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > +-------------------------------------------------------------------+ > " ... Overall we've found FreeBSD to excel in performace, stability, > technical support, and of course price. Two years after discovering > FreeBSD, we have yet to find a reason why we switch to anything else" > -David Filo, Yahoo! > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message