New To Cygwin

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Jul 18 01:47:00 GMT 2008


mwade wrote:
> Hello,
> 
> I am new to cygwin and after I have installed it I ran it and try to
> traverse to different directories and every time I do I run ls or dir and I
> get command not found. Did I miss something during the install?  I start off
> in /usr/bin, but then by just typing cd I end up where I would want to,
> cygdrive/c/Documents and settings/username.
> 
> I also looked and the manual and FAQ to see if I was missing something.  I
> also looked at many of the posts on here before I asked.

I'd recommend reading and following the problem reporting guidelines,
particularly the part about *attaching* cygcheck output.  You can find
the guidelines here:

<http://cygwin.com/problems.html>

If I had to hazard a guess, it sounds like your installation didn't
complete.  If just rerunning 'setup.exe' doesn't fix the problem,
send a problem report here.

FWIW, the behavior you get when you "cd" is correct, assuming that HOME
is not set in your Windows environment and '/etc/passwd' doesn't exist
(and probably wouldn't if my guess about your installation is correct).
In this case, your home directory becomes the POSIX form of $HOMEDRIVE/
$HOMEPATH, which I'll bet maps to /cygdrive/c/Documents and settings/<your
user name> on your system.  But now I'm done trying my luck. ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/



More information about the Cygwin mailing list