Cygwin Recipes

From NovaOrdis Knowledge Base
Revision as of 01:08, 13 January 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Detecting Cygwin from a Script

if [ "$OSTYPE" = "cygwin" ]; then
   ...
fi

Handling Path with Spaces in Cygwin

f [ "$OSTYPE" = "cygwin" ]; then
     java_executable=`cygpath "$java_executable"`
fi

"$java_executable" -version

cygwin Login Banner

... Is the content of /etc/motd.