open a c ++ file in ubuntu command line code example Example: execute c program in linuz $ ./programName