This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]