Cygwin - How would I find the Cygwin's version which has been installed on my machine? (Win Vista)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
With the uname
utility, as on other POSIX systems.
uname -r
回答2:
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?)