File extensions

I know that Linux does not require file extensions.

But I prefer them because it’s easy to see what the file type is when looking at the file name.

I started doing some c programming and wonder if I can put a file extension on the executables?

Sure, if you compile a c program, it defaults to a.out You can rename your binary to anything you want.

1 Like