Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 1999 03:58:28 -0800 (PST)
From:      Mike Meyer <mwm@phone.net>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: hidden files
Message-ID:  <Pine.BSF.4.05.9901040356010.11212-100000@guru.phone.net>
In-Reply-To: <368FE58F.B5AE8FF8@netshell.vicosa.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

	<mike



On Sun, 3 Jan 1999, Gustavo Vieira G C Rios wrote:

> Date: Sun, 03 Jan 1999 19:47:59 -0200
> From: Gustavo Vieira G C Rios <grios@netshell.vicosa.com.br>
> To: Mark Kobussen <skjellyfetti@iname.com>
> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901040356010.11212-100000>