The command to compile a C-language program is $ cc filename.c The resulting executable will be left in "a.out" in your directory. To run it, type $ a.out