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: Problem in executing the command


> -----Original Message-----
> From: cygwin-owner On Behalf Of Vikram.Narayan
> Sent: 27 April 2004 22:26

> I have installed the freeware of cygwin unix ware ... but the 
> problem is
> what ever command i try to execute it is giving
> "bash: who: command not found" ... only the pwd command i can 
> execute in
> that ... i'm in the /usr/bin directory.

  Unix/posix/linux shells don't usually include the current directory in the
path automatically, so being in /usr/bin doesn't make any difference; it
only depends whether /usr/bin or . is in your $PATH setting.  However, while
you are in /usr/bin, you can always execute commands by supplying the path
of the current directory as path of the command, e.g.

./who

./uname -a

etc, etc.

> Will plz guide me to come out of this problem.
> Rgds,
>   vikram narayan Jp

  Follow the instructions here:

> Problem reports:       http://cygwin.com/problems.html

  In particular this bit:

" Run cygcheck -s -v -r > cygcheck.out and include that file as an
attachment in your report. Please do not compress the output. Just attach it
as a straight text file so that it can be easily viewed. "


  In your case, since something's wrong, you may need to be in /usr/bin and
type

./cygcheck -s -v -r > cygcheck.out

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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