delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/16/21:23:36

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: <5.1.0.14.2.20020716181943.02f39e88@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Tue, 16 Jul 2002 18:24:23 -0700
To: aldi AT wubios DOT wustl DOT edu, cygwin mailL <cygwin AT cygwin DOT com>
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: files and directories distinction:
In-Reply-To: <3D34BD3D.1090300@wubios.wustl.edu>
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019