How can I run this Unix command
. ./filename.sh with cygwin?
migrated from stackoverflow.com Mar 8 '11 at 20:26
Open up your
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:
All variables, exported or not, will be integrated into your current shell instance (unless enclosed in parentheses, i.e. assignments done in subshells).