X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_20 X-Spam-Check-By: sourceware.org Message-ID: <49A93341.7040809@t-online.de> Date: Sat, 28 Feb 2009 13:51:13 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Info about OS by command in Cygwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Thomas Wiedmann wrote: > by which Cygwin/bash command can I get detailed information about the > Operating System, e. g. about the Windows version (XP? SP?)? > Trying with the Windows command "ver" I've got the error "-bash: ver: > command not found". 'uname' and '/proc/version' show the Windows version number (NT-5.0=2000, 5.1=XP, 5.2=2003, 6.0=Vista) but not the SP version. The 'ver' is a cmd.exe builtin command and can also be run from bash: $ uname CYGWIN_NT-5.1 $ cat /proc/version CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 $ cmd /c ver Microsoft Windows XP [Version 5.1.2600] Hope this helps, Christian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/