w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Shell Script - command not found

As has already been said, you need to add the Cygwin binaries to your path. To do so, right click on "My Computer", click "Properties", then "Advanced", then "Environment Variables".

Create a new environment variable with name CYGWIN_HOME and value C:cygwin (or wherever you installed cygwin. The default location is C:cygwin so this should probably work for you).

Then edit the environment variable named "PATH", and tack on the following to the end:

;%CYGWIN_HOME%in;%CYGWIN_HOME%sbin;%CYGWIN_HOME%usrin;%CYGWIN_HOME%usrsbin;%CYGWIN_HOME%usrlocalin;%CYGWIN_HOME%usrlocalsbin

Close your command prompt, then reopen it. The cygwin binaries should now be available. You can double-check this by typing "which bash". It should report the location of your bash executable





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.