ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: ts7300 - ??

To:
Subject: Re: [ts-7000] Re: ts7300 - ??
From: m g <>
Date: Tue, 23 May 2006 09:22:15 -0600
On Mon, May 22, 2006 at 03:43:23AM -0000, thomas wrote:
> hi Peter,
> thanks for your reply.
> I compile the program in the usr directory: gcc -o b.out hello.c
> I use chmod 
> when I execute the program I get this error:
>  
> bash: /bin/b.out:  No such file or directory.
>  
> please help

Try running the program like this

$ ./b.out 

(note the "./" preceeding the file name)

This tells the shell to look for the application in the current
directory ("."). Normally, the shell uses the PATH environment variable
to search for executables. 

Hope this helps,
Mike


------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU