Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 29 Apr 2005 11:04:52 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: maggi DOT alvermann AT arcor DOT de cc: cygwin AT cygwin DOT com Subject: Re: Basic test In-Reply-To: <16827469046.20050429144702@arcor.de> Message-ID: References: <16827469046 DOT 20050429144702 AT arcor DOT de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1804928587-1114787092=:5266" ---559023410-1804928587-1114787092=:5266 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Fri, 29 Apr 2005, maggi.alvermann wrote: > René Berber wrote: > >> I have installed cygwin, and I am able to launch the console with > >> the promt bash2.05b$ But when entering ls or other comands, I get > >> always bash-2.05b$ ls > >> bash: ls: command not found > > > That's strange, I think the command ls comes in the > > coreutils package and that is one of the default installed > > packages... so, unless you unselected it it, you should have it. > > Try: > > cygcheck -c coreutils > There is no result. > I found http://cygwin.com/faq/faq_3.html#SEC34 > How should I set my PATH? > This is done for you in the file /etc/profile, which is sourced by bash when you start it from the Desktop or Start Menu shortcut, created by setup.exe. The line is > check your PATH > > In \cygwin\etc\ there is no file \etc\path > There is only a directory \etc\profile.d with "sh" and "csh" files for ms, openssh > and 00org-x11base. > > There is in \etc\cygwin\defaults\etc a file profile with > PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH > export PATH > That looks like I have to launch a X11 comand line. > I am interested in using X11, so how may I start it? > Thanks, Maggi If you don't have /etc/profile, something is seriously wrong with your installation. If you haven't yet created any files in the Cygwin tree, I suggest blowing it all away and reinstalling the needed packages. Make sure you let setup select the packages it thinks are needed, and don't unselect them, even if you think you won't use them. For X11, you'll need the various xorg-x11-* packages -- you'll have better luck asking X11-specific questions on the cygwin-xfree list. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT ---559023410-1804928587-1114787092=:5266 Content-Type: text/plain; charset=us-ascii -- 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/ ---559023410-1804928587-1114787092=:5266--