Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 11:16:43 -0400
From:      "Otter" <otterr@telocity.com>
To:        "Arjan Knepper" <arjan@jak.nl>, "Alex Kwan" <alexkwan@pacific.net.hk>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: A simple C programming question
Message-ID:  <PCEGINJJIOIMLAAHJLIPEEJACDAA.otterr@telocity.com>
In-Reply-To: <3B3495AE.8E11D1CC@jak.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
chmod +x /path/to/a.out will make it executable. or man chmod if you
need a specific permission level.
Also, if you don't like the a.out notation, you can specify an output
name with the -o flag.
-Otter


> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
> Arjan Knepper
> Sent: Saturday, June 23, 2001 9:12 AM
> To: Alex Kwan
> Cc: freebsd-questions
> Subject: Re: A simple C programming question
>
>
> # ./a.out
>
> Should do the trick
>
> Arjan
>
> Alex Kwan wrote:
>
> > Hi!
> >
> > I have wrote a simple C program, after compiled,
> > a a.out file was created, but can't execute.
> > How to make it executable?
> > Thanks!
> >
> > Alex
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PCEGINJJIOIMLAAHJLIPEEJACDAA.otterr>