How to check if running in Cygwin, Mac or Linux? How to check if running in Cygwin, Mac or Linux? shell shell