If you simply compile with the command 'gcc hello.c' it will create a executable called 'a.out'. To run this enter this into terminal './a.out'
To create a more meaningful name for the exec, use this:
gcc hello.c -o hello (gcc <sourcefile.c> -o <desiredname>)