This example shows a C program compilation and run using gcc from the command line.
You should have a compiler installed. Ubuntu Linux:
apt-get install build-essential
Open a terminal and type:
sh run.sh
A typical output should look like this one.
compiling ..
running..
Hello there !