X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=aQr2ki01BW/ZGBPc RMnen9r4W17+QqfGi3Ju/FTBXvJm7f89oX7VU30OzqscZAntoEO/iRMaS+aiEaU8 GWTElRFqaIynP+CFCLJZp37WR03hQottvtfISmYNQhOc6nyOoSRDRuTRcfjcfxXv KZ1tJVqUGVH86Cwi35PdHjPxxI4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=krYXFZfn4GKeAZziRTdoCJ +GoqI=; b=tIB1zt0mNjUImhqHFIfy9V0RilnUkaCsBKte81t9LmhEprfg577pBz hVfuIDspugjiP/BFaxh3sTjG6dW3Xw4STU6zTfL8FitPnLB/RuC35GPvc37PhUpr X2WxFRWYXMAHJQEBP0kSG/c1SqzRoQM7hsR5dfHLlSaCtQunPZcL4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-102.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05,USER_IN_WHITELIST autolearn=ham version=3.3.2 spammy=H*M:cygwin, H*Ad:U*reply-to-list-only-lh, H*UA:i686, larry X-HELO: pool-173-76-164-160.bstnma.fios.verizon.net Reply-To: cygwin AT cygwin DOT com Subject: Re: How to find out the current cygwin version? References: <759445 DOT 1405 DOT bm AT smtp134 DOT mail DOT ir2 DOT yahoo DOT com> <70e25f3b-8086-4e3d-e4b1-7bbbc6a44599 AT gmail DOT com> To: cygwin AT cygwin DOT com From: "Larry Hall (Cygwin)" Message-ID: <26252101-3085-bfed-9a2c-bb662dd38618@cygwin.com> Date: Fri, 8 Sep 2017 11:41:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <70e25f3b-8086-4e3d-e4b1-7bbbc6a44599@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 09/08/2017 12:44 AM, David Billinghurst wrote: > On 8/09/2017 14:39, Ben Stover via cygwin wrote: > >> Assume I get to another (Windows) computer where Cygwin is already installed. >> >> How can I find out which version of Cygwin is currently installed? > cygcheck --version # for cygwin dll > cygcheck --check-setup # for all packages To do a check of all installed packages, the second option is really the only choice. But if you're just looking for version of the Cygwin DLL, "uname -r" is an alternative to the first option that is a bit more UNIXy/Linuxy. As such, it may be preferable if you're checking this in a script that is meant to be cross-platform. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple