Cygwin - How would I find the Cygwin's version which has been installed on my machine? (Win Vista)
With the uname
utility, as on other POSIX systems.
uname -r
Bing
If you want to detect if you're running the 32 bit or 64 bit version, the -m switch will tell you:
uname -m
"i686" for the 32-bit version, "x86_64" if it's 64-bit.
uname -a
..gives you all the information at once. Check man uname
for details.
(This is also answered in How do I tell whether my cygwin installation is 32 or 64 bit?)
来源:https://stackoverflow.com/questions/4506287/how-would-i-find-the-cygwin-version-which-has-been-installed-on-my-machine