X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <28723613.post@talk.nabble.com> References: <28722920 DOT post AT talk DOT nabble DOT com> <28723613 DOT post AT talk DOT nabble DOT com> Date: Sun, 30 May 2010 20:26:38 +0100 Message-ID: Subject: Re: "command not found"-For All Commands From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 30 May 2010 18:48, physicist25 wrote: > I am initiating two ways, 1- using the desktop icon I created and 2-using the > one at start that says mintty. > Their startups screens are "bash-3.2#" and "-sh-3.2$". Does this answer your > question? The result in case 1 is to be expected unless your desktop shortcut contains a '-' argument to tell mintty to invoke bash as a login shell. If bash isn't invoked as a login shell, /etc/profile isn't sourced and the prompt and path (among other things) aren't set up. The default mintty shortcut in the start menu does contain that '-' argument though, which is confirmed by the '-' at the start of the prompt you get. I can only reproduce that by removing /etc/profile though, so it looks like something's gone quite wrong with your install. At this point we'll probably need the cygcheck output as described at http://cygwin.com/problems.html, or you might just want to try reinstalling. Andy -- 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