how to compile and run c program in ubuntu code example Example: execute c program in linuz $ ./programName