Running a C program in Ubuntu Linux Get link Facebook X Pinterest Email Other Apps September 27, 2016 write and save file with a .c suffix lets call it prog1.c compile the program gcc -o prog1 prog1.c execute the program ./prog1 Read more