This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug to setup Cygwin on Windows Server 2008 64bits


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]