View Full Version : [ubuntu] *.in files??

February 4th, 2010, 06:01 AM
what does it mean when a file ends *.in?

Is there some sort of utility that you typically run these files against?


February 4th, 2010, 09:19 AM
Linux doesn't really use filename extensions. You'd be better off using the 'file' command to work out what sort of file it is.

For instance, if your file is called "thing.in" you'd do:

file thing.in

It will return the type of file, if it can determine it (or just return "plain text file" or "raw binary file" if it can't).

June 2nd, 2012, 05:42 PM
Files ending with .in are typically template files used by a program called "configure" that generates a new file without the extension after substituting for variable expansions. I.e., if you're looking at a source tree that has files called, e.g. Makefile.in in the tree, then "./configure" will generate a usable Makefile that can be used to "make" from source. If you don't understand what this all means, then you're in over your head and need to read a C or C++ programming book.