>Is there any ability in Linux to associate filename extensions, or
>similar, with applications.  

One of the things with Unix is that, unlike dos with it's 8,3 rule
the "extension" is totally arbitary. Originally there was a 14 char
limit to file names and whether you had a dot in there was entirely
up to the user. Thus the idea of typing files by their extension
was historically pretty much a foreign concept to Unix. 

Currently there are at least three methods in use,

1. educated guess about file type based on content ("file" command)
2. explicit meta data in file (eg "#!/usr/bin/perl" )
3. .ext in the filename (Mime types)

All have their failings. 

Are there any other methods others know of?


--

Pete


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to