compile c program

Shell
#compile filename.c with:
gcc filename.c –o filename

#run with:
./filename
Source

Also in Shell: