This is the mail archive of the cygwin 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: Force "ls" to show .exe extension


Tom Robinson <barefootguru <at> gmail.com> writes:
>If you don't want to specify the extension, can you specify as
>asterisk?
>
>[3236 CBGSAS04:~/Documents]$ touch name.exe
>
>[3237 CBGSAS04:~/Documents]$ ls -l name
>-rw-r--r--+ 1 cbg.tom Domain Users 0 Jan  7 09:34 name
>
>[3238 CBGSAS04:~/Documents]$ ls -l name.exe
>-rw-r--r--+ 1 cbg.tom Domain Users 0 Jan  7 09:34 name.exe
>
>[3239 CBGSAS04:~/Documents]$ ls -l name*
>-rw-r--r--+ 1 cbg.tom Domain Users 0 Jan  7 09:34 name.exe

Yaakov Selkowitz <yselkowitz <at> cygwin.com> writes:
> ls --append-exe ~/bin/pdfcrop

Tom, Yaakov,

Both solutions are great.  I'll set the --append-exe in my bash
aliases, and for systems outside of my normal working environment
(e.g., working with someone on their unix sessions), I know I can
force display of .exe using asterisk.

Thanks!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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