binary file not running

Jatin K ssh.fedora at gmail.com
Thu Aug 11 04:51:16 UTC 2011


On Thursday 11 August 2011 09:27 AM, shailesh wrote:
> #include<stdio.h>
> int main()
> {
> printf("hello");
> return 0;
> }
>
>
> [tommy at tommy cprog]$ gcc hello.c
> [tommy at tommy cprog]$ ./a.out
> bash: ./a.out : Permission denied
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
> Treat yourself at a restaurant, spa, resort and much more with *Rediff 
> Deal ho jaye! 
> <http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=mailsignature___&cmp=signature&lnk=rediffmailsignature&newservice=deals>* 

please don't send html

you should do  chmod +x a.out   or  run it like sh a.out


Regards

-- 
   °v°
  /(_)\
   ^ ^  Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110811/2ec6dc5d/attachment.html 


More information about the users mailing list