cd to the dir that the source file is in, and then try to compile with this line-
$ gcc yourFileName.c -Wall -o FILENAME
the -Wall is to turn on all warnings, it is a good idea to compile with this in there so that your code is as clean as possible. the -o just specifies a file name to use for the binary file(after its compiled).
then still in your term, in the same dir as the binary file just type-
$ ./FILENAME
this should print
hello!
_peace
|