This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Force "ls" to show .exe extension
- From: Paul <Paul dot Domaskis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 6 Jan 2015 21:16:58 +0000 (UTC)
- Subject: Re: Force "ls" to show .exe extension
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20150106T203355-631 at post dot gmane dot org> <54AC48DE dot 6000806 at cygwin dot com>
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