This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: files and directories distinction:
- From: Randall R Schulz <rrschulz at cris dot com>
- To: aldi at wubios dot wustl dot edu, cygwin mailL <cygwin at cygwin dot com>
- Date: Tue, 16 Jul 2002 18:24:23 -0700
- Subject: Re: files and directories distinction:
Aldi,
I don't know about "dir," which is a Windows / DOS-ism, but any Unix /
POSIX / Gnu "ls" command, including Cygwin's, will flag file system
entities in its output when given the -F option. Directory names get a
trailing slash, executables a star (asterisk), symbolic links an at-sign (@).
I am unaware of any environment variable that activates this option,
however. I use this option often enough that I have aliases that supply it
for me. For example:
alias lf='ls -F'
alias ll='ls -lF'
This is nothing Cygwin-specific, of course.
Randall Schulz
Mountain View, CA USA
At 17:41 2002-07-16, Aldi Kraja wrote:
Hi,
How I can set the env to see directories with some / at the end of it.
Right now everything files and directories look the same (under cygwin)
when I apply a dir or an ls -l.
TIA,
Aldi
--
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/