Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I run this Unix command . ./ with cygwin?

share|improve this question

migrated from Mar 8 '11 at 20:26

This question came from our site for professional and enthusiast programmers.

Open up your Start menu, select the Cygwin submenu and click on Cygwin Bash Shell. That gives you a UNIX-oriented shell in which it'll be a lot easier to do UNIXy type things, like running whatever script you want.

share|improve this answer

Actually that command is not so much bound to a platform (if you allow that term for Cygwin) as it is a shell intrinsic/builtin. In Bash (to my knowledge default shell in Cygwin), for example, those two lines are equivalent:

. ./
source ./

All variables, exported or not, will be integrated into your current shell instance (unless enclosed in parentheses, i.e. assignments done in subshells).

share|improve this answer

You must log in to answer this question.