Discussion:
Bash etc.
(too old to reply)
Damo Nair
2007-07-04 15:33:49 UTC
Permalink
Hello,

Sorry if you've heard this a zillion times before, but I've spent quite a
bit of time googling for the answer.

I've just installed Cygwin on XP & how do I get rid of bash? Or how do I
set some variables up? I am just trying to
to run simple C programs. After I compiled the standard hello.c it says
"bash : hello.exe command not found". :-)

Thanks very much.
Damo Nair.
Chris F.A. Johnson
2007-07-04 17:30:11 UTC
Permalink
Post by Damo Nair
Hello,
Sorry if you've heard this a zillion times before, but I've spent quite a
bit of time googling for the answer.
I've just installed Cygwin on XP
This is a Linux group, and Cygwin is not Linux.
Post by Damo Nair
& how do I get rid of bash?
Why would you want to do that?
Post by Damo Nair
Or how do I set some variables up? I am just trying to to run simple
hello.exe command not found". :-)
An executable program must either be in your PATH (a variable
with a colon-separated list of directories containing
executables) or be called with the path to the file. If the file is
in the current directory, use:

./hello.exe
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
Mumia W.
2007-07-05 04:41:31 UTC
Permalink
[...] If the file is
../hello.exe
Don't you mean this?

./hello.exe
Mumia W.
2007-07-05 05:11:58 UTC
Permalink
Post by Mumia W.
[...] If the file is
../hello.exe
Don't you mean this?
../hello.exe
(Sigh) I meant to have only one period at the beginning of that line.
Paul Colquhoun
2007-07-05 09:09:04 UTC
Permalink
On Thu, 05 Jul 2007 05:11:58 GMT, Mumia W. <paduille.4061.mumia.w+***@earthlink.net> wrote:
| On 07/04/2007 11:41 PM, Mumia W. wrote:
|> On 07/04/2007 12:30 PM, Chris F.A. Johnson wrote:
|>> [...] If the file is
|>> in the current directory, use:
|>>
|>> ../hello.exe
|>>
|>
|> Don't you mean this?
|>
|> ../hello.exe
|>
|
| (Sigh) I meant to have only one period at the beginning of that line.


It only had one dot when I saw the original message, and your reply.

It looks like it is your system that is doubling up the leading dot.
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
Continue reading on narkive:
Loading...