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