shutdown doesn't do anything, winXP

Warren Young warren@etr-usa.com
Fri Sep 2 18:36:00 GMT 2011


On 9/2/2011 11:26 AM, LMH wrote:
>
> As an aside, why does which shutdown return /usr/bin/shutdown when the
> shutdown app is located in /bin/shutdown? What value does the /usr part
> of the path have in this context?

/bin and /usr/bin are the same thing by default under Cygwin.  c:\cygwin 
is mounted as root, and then c:\cygwin\bin is mounted as /usr/bin.  I 
imagine one could change this behavior with /etc/fstab, if one wanted.

"which" is using /usr/bin in your case simply because that was found 
first in your PATH environment variable.

--
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



More information about the Cygwin mailing list