LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2004, 04:57 PM   #1
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Rep: Reputation: 15
Extensions


So I create a jpg in gimp and save it.
If I email this to a windowz user they cannot open it unless I name it something.jpg

Why does windows need these extensions when Linux seems to know what the files are allready?
 
Old 03-01-2004, 05:07 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's because of backward compatibility, mostly. Windows is based on DOS, where extensions were important. Just a different design philosophy...
Plus, in Linux there's 'file' command. Even when you don't give a picture an extension, when you run 'file imagename' you'll be told which picture format it is. It makes writing programs chooseing the right method to deal with a file easier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FP extensions jdmarti1 Linux - Software 2 11-20-2005 09:02 PM
.run extensions? mrchaos Fedora 5 03-11-2005 06:13 PM
File Extensions RpgActioN Slackware 1 09-22-2004 11:20 PM
missing extensions tekmorph Linux - General 1 08-31-2004 09:03 PM
Differences between these extensions ? Tancrede Linux - Newbie 5 07-22-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration