I am using Mandrake Linux 9.0 and I have like all the workstation packages installed. Anyways, I need to know how to run .c files in Linux. I understand that they need compiled first into machine code that the cpu can read, and then linked and made into executables or whatever. Anyways, assuming that I had a file called "test.c" in my /home/usr directory............ what would the steps in order be to successfully do all of the above. Also, do I do this in a term like "X" or from bash or what ? Some guy told me over MIRC to do this:

gcc -o "test" "test.c"

and go from there or whatever ? Could someone be kind enough to give me the actual working steps of running a single source .c file ? Thanx.

Adam