Originally Posted by pdeman2
Perhaps you did not cd into the directory the hello.c file was in. It might also be helpful to give the output of the gcc command.
bin Desktop Documents My Music public_html test.c
michael@linux:~> gcc -o hello test.c
bash: gcc: command not found