Can you help with dumb questions?
There are no dumb questions!
Like associating a program?
Of course, but it depends on where you're talking about. Do you mean in general? Like assigning a default application for opening a specific type of file, or do you mean within a specific application, such as a browser, or what?
Linux doesn't use the same extensions.
*nix has never used 'extensions' as in the DOS/windows world. UNIX and its offspring actually determine a file's type based on its contents, NOT on its 'extension.'
The reason I keep putting 'extension' in quotes is because in *nix there really is no such thing as a file extension.
Back in the DOS 8.3 (file names limited to 8 characters, plus a MANDATORY dot-plus-3-character extension), in UNIX we had no such ridiculous limitations. If I wanted to name something
my.file.for.work, so be it. The dots were, and are, nothing but characters, like any other standard character. They didn't, and don't, dictate a file's type. *nix basically evolved over the years to accommodate windows users who thought of files as having extensions to dictate what they were.
Don't believe me? Do this: Let's say you have a JPEG file that's named
your_pretty_sunset.jpg. Rename it simply
your_pretty_sunset. Then fire up your preferred file manager (I use Dolphin), and watch it display the file's preview. Do the same on a windows box and what will happen? Nothing. Without the .jpg extension, it won't recognize it as a JPEG file.
Go to a command prompt where the file is located and type this:
The output should look like this:
Code:
file your_pretty_sunset
your_pretty_sunset: JPEG image data, EXIF standard
Again, it's actually DETERMINING the file's type, not making assumptions based on its extension...or lack thereof.