compile c program gcc ubuntu code example
Example 1: how to run c in linux
gcc hexdump.c -o hexdump //hexdump is an example for a file name
Example 2: execute c program in linuz
$ ./programName
gcc hexdump.c -o hexdump //hexdump is an example for a file name
$ ./programName