On systems with the GNU C compilation system, the C compiler is gcc. Before compiling in the terminal, make sure to use cd function to be in the directory where the file you want to compile is located. cd: change directory inside the correct directory, we compile the file into the default a.out executable file by running % gcc filename.c Then, we get the output by running % ./a.out