Compile problem.

I am a newbie to unix environment and i am currently using bash. May i know how to compile a new c program.

The most common C compiler is gcc. At the command prompt, and while in the directory with your current source code type the following:

gcc mysource.c

Hope that's what you were looking for.

By the way, gcc comes with most distros of Linux, or you can download it from several places.