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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=O1Q WSS2yGCJXUybeDaKNK/IC7lc3+RNej5IQpk/6siwA//RjU/WWyUxp+qsFQK1R0Bc /gPIZZ6ihzJ4rPo6kkEeSUqUd9hs+cqyaS6mtY0nRLyAjpIMfZ9/G2cFGHdJ3C0x smMwa0q6NLV2XPq+25x4FLItxccyUlXiitIIWNGQ= 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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=+d9IdVohS Grtce/y2Qs40q5dm7E=; b=qqJu8qmEhKLMLQNVUq+UQr4eOfY/MIsk3oanJcfZ/ tZbfuWeKlnj5Z0L57PQ4PhvLzkdeavkNgkBuIugFVOFr+ITXe8rLNwlqtcojt2bm Swgyk0rkwoMQ8AscxTH0sJiiMhqhH0b0zqIUrqTvhDC0frlxqhXJObS23V5k/vPl PY= 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=3.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mailuogwdur.emc.com X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com tAGGGMAj019232 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com tAGGGMAj019232 From: "Gluszczak, Glenn" To: "cygwin AT cygwin DOT com" Subject: Command echo Date: Mon, 16 Nov 2015 16:16:01 +0000 Message-ID: <91DCAC3CB99C724EB365BB64677FBE7B01BE4B@MX204CL04.corp.emc.com> Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com X-RSA-Classifications: public Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tAGGGcHV018435 When I shell to cmd.exe, the commands I execute are echoed (not sure if stdout or stderr). This doesn't happen under native cmd.exe. Is there a variable that controls this?  I only have CYGWIN=nodosfilewarning Notice the commands "dir" and "whoami" are emitted to the output.  $ bash --version GNU bash, version 4.3.42(4)-release (i686-pc-cygwin) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ cmd Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\cygwin\home\mytest>whoami whoami mytest C:\cygwin\home\mytest>dir dir Volume in drive C has no label. Volume Serial Number is 0EA8-F3D1 Directory of C:\cygwin\home\mytest 11/11/2015  09:31 AM              . 11/11/2015  09:31 AM              .. 11/05/2015  05:55 AM             6,054 .bashrc 11/11/2015  09:45 AM             2,401 .bash_history 11/05/2015  05:55 AM             1,494 .bash_profile -- 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