| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <03ff01c238d9$2060d1f0$23638780@uchicago.edu> |
| From: | "Kim Scarborough" <lists AT jinx DOT unknown DOT nu> |
| To: | "Wendell Pinegar" <wpinegar AT healthtech DOT net>, <cygwin AT cygwin DOT com> |
| References: | <C509498BA0E6D411B9C6006008F6053CF23E93 AT mail DOT healthtech DOT net> |
| Subject: | Re: ls incorrectly shows system hidden files |
| Date: | Wed, 31 Jul 2002 16:27:51 -0500 |
> I just noticed that the "ls" command in cygwin shows Windows system hidden
> files. Hidden files shouldn't be listed by the ls command! Can this be
> changed?
Heh. Funny complaint. Probably the solution that's the most theoretically
faithful to the cygwin philosophy would be to somehow get ls to not list those
files unless you specified -a. The thing is, though, that this would probably
be a huge PITA to code for a feature that almost nobody wants anyway. So I
wouldn't hold my breath.
Here's the only kludge I could think of. Add this to your .bash_profile (or
/etc/profile if you want it to be global):
alias ls='cmd /c dir'
Or something like that, blah.
----------------------------------------------------------------------------
Kim Scarborough http://www.unknown.nu/kim/
----------------------------------------------------------------------------
"For every complex problem there is a simple solution, and it's wrong."
- H. L. Mencken
----------------------------------------------------------------------------
Now listening to: Can - "Cutaway"
----------------------------------------------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |