jennifer.jcarr wrote:
> I am very new to linux. I was trying to write the little Hello World
> script just to play with the script. I was unable to figure out how to
> make this work. Can some one show my set by step how to save and run
> this script?
> Thanks
> Jennifer
>
>
Just for fun, and as an addendum to Scott's scripted version, which
you requested, here is a C version (compiled, not scripted):
In emacs (or any ASCII editor), type:
/* Hello World */
#include <stdio.h>
main() {
printf("Hello World"\n);
return 0;
}
...then save and close the file, and at the command prompt:
$ cc hello.c
...then, assuming you have no errors, run the newly created program,
named a.out, thus:
$ ./a.out
...and you should see:
$ Hello World
--
-wittig http://www.robertwittig.com/
http://robertwittig.net/
http://robertwittig.org/
.
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/