How do I run C programs on the Shell Servers?
After creating a C program on the Shell Servers, you must compile it.
$ emacs Lab1.c
Your instructor should tell you which compiler to use. gcc is just one we will use in this example.
$ gcc Lab1.c
After compiling your C program the default output file is "a.out"(no quotes.) To run this program the proper command to enter is:
$ ./a.out