linux how to compile c files code example Example: how to run c file in linux gcc fileName.c -o fileName //compiles it ./fileName //runs it