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 : >> bash-3.2$ : _ >> >> None commands are available >> When i do a "ls" => 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 desktop > that does the same). This sets up some useful stuff. > > From the picture in your previous post, you just started a shell (bash.exe) > inside a command window. In other words, there no guarantee that any useful > 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/