Sample Header Ad - 728x90

File extensions and association with programs in linux

4 votes
6 answers
17790 views
In windows we can associate a file's extension with programs. E.g. a file test.pl can be run by the installed Perl interpreter due to the pl extension. In linux though it needs #!/usr/bin/perl as the first line. Is this because there is no association between file extensions and programs in Linux?
Asked by Cratylus (529 rep)
Apr 5, 2013, 07:49 PM
Last activity: May 14, 2021, 08:05 AM