how to compile a c program using gcc in ubuntu code example Example: how to run c in linux gcc hexdump.c -o hexdump //hexdump is an example for a file name