How to open file in root

Hi,

I wonder how root can see file.C (extension) to run it ? on my Ubuntu when I type:

it gives

Best
Safinaz

ROOT 5 Primer -> ROOT Macros
ROOT 6 Primer -> ROOT Macros