X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <958BEC5D-21EC-41B1-8176-E80562EF3D0E@bitmover.com> References: <23422628 DOT post AT talk DOT nabble DOT com> <20090507135258 DOT GB21324 AT calimero DOT vinschen DOT de> <23428512 DOT post AT talk DOT nabble DOT com> <958BEC5D-21EC-41B1-8176-E80562EF3D0E AT bitmover DOT com> Date: Thu, 7 May 2009 17:06:33 +0100 Message-ID: <416096c60905070906i7ef80d6bpbc7e79370510f632@mail.gmail.com> Subject: Re: Bug to setup Cygwin on Windows Server 2008 64bits From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 2009/5/7 Georg Nikodym: > > On 7-May-09, at 10:56 AM, Kyeto wrote: > >> I have disabled DEP and now Cygwin run. >> But i have just the pompt with : >> =A0 =A0bash-3.2$ : _ >> >> None commands are available >> When i do a "ls" =3D> command not found. >> It's the same for a lot (touch, chmod ...) >> >> But, pwd, cd work > > Normally, people start cygwin using cygwin.bat (or an icon on their deskt= op > that does the same). =A0This sets up some useful stuff. > > From the picture in your previous post, you just started a shell (bash.ex= e) > inside a command window. =A0In other words, there no guarantee that any u= seful > environment was set up. Yep. To get the usual environment, bash needs to be invoked with option --login (or -l), which makes it a "login shell" and ensures that /etc/profile is executed. Andy -- 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/