🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6851

Re: Mi primer prog C para Linux

#6851
From: NeoZero
Date: Fri, 09 May 2003 18:36
30 lines
2078 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

�Hola Jesus!

> Lo compilo con gcc y no tengo errores...
> 
> Pero cuando lo ejecuto en consola, en vez de "hola mundo" obtengo
> "command not found". Si lo intento ejecutar de la siguiente forma:
> "sh hola" lo que obtengo es "cannot execute binary file"
> 
> �Alguien me echa una mano? 

S�, a lo mejor es que no est� en el path, para ejecutarlo haz:

   $ ./hola

Saludos.

- -- 
NeoZero

PGP KeyId: 993B601A. Clave PGP en pgp.escomposlinux.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+u/UI0zo3vpk7YBoRAvlqAJ9aMJeYp1bO0YdZ2t3ufWFfCettRwCcCZLN
MtjYUXR9UhRxXHdi4/aPjfk=
=oXkg
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20030509203600.7612b673.neozero@escomposlinux.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news-xfer.cox.net!mainake.escomposlinux.org!neozero.escomposlinux.org!not-for-mail
References: <4f2e5baf.0305091022.231210fe@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,a19a853e6652762d
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-05-09 11:33:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news-xfer.cox.net!mainake.escomposlinux.org!neozero.escomposlinux.org!not-for-mail
From: NeoZero <neozero@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Mi primer prog C para Linux
Date: Fri, 9 May 2003 20:36:00 +0200
Organization: ecolnet
Lines: 30
Message-ID: <20030509203600.7612b673.neozero@escomposlinux.org>
References: <4f2e5baf.0305091022.231210fe@posting.google.com>
NNTP-Posting-Host: 192.168.0.1
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: negre.neozero.net 1052505360 29604 192.168.0.1 (9 May 2003 18:36:00 GMT)
X-Complaints-To: neozero@escomposlinux.org
NNTP-Posting-Date: Fri, 9 May 2003 18:36:00 +0000 (UTC)
X-Newsreader: Sylpheed version 0.7.4claws (GTK+ 1.2.10; i386-debian-linux-gnu)
X-Face: o+|%3Bcs.E>NUu[8:{%qze-)2$BAoQ~d}x22%}~M'mihjfh)C[hkA:G)'o4T!8e/Nko]Bh, -SJ2b7t];N%JR{?O@ys,_Z/j[)2-p;"s7NKqrs9}!qf<&^x9*8}<nIiwEc%&KDId_vm;Q*_p*GjI4I F>#K3o9T:s=qo]lI$wKK>GFb^~vSXF\{H*vC4^>z$B}0Gqt|x$tyevI*{\kT)1xbRtOZR6SY?;/G