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