[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: from a.out to running the darned thing.

On 2005-01-23T20:59:25-0500, Scotty Fitzgerald wrote:
> so I figured if I typed in "a.out" at the shell prompt I would
> get a "hello sailor" and the value of the supported maxint size.
> I type "a.out" into bash and I get "command not found"
> Is there something I have to do to tell bash that this 
> executable is an executable, or did I leave out a step?

You (correctly) do not have the current diretory (.) in your PATH,
try instead:

$ ./a.out 


Attachment: signature.asc
Description: Digital signature

Reply to: