Re: Executable files in windows and linux???
Matthew Miller <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 12, 2006 at 10:51:38PM +0530, GEJOE DANIEL wrote: > I know that a system with windows (without strong anti-virus) would be > easily pulled down by the viruses in the LAN whereas in linux it's not so.. > I heard that in Windows the files are identified by their file extension > like .exe,.com,etc(and hence the viruses with .exe extensions run easily on > windows system).. whereas in Linux it is by the file type and hence > whatever executable file is there it won't run without the permission of > the superuser. > what about the executable files in windows and in linux?? > In windows any file with .exe extension is an executable file.. > but in Linux the extension doesn't matters...then how is the executable file > known/identified?? > Please explain..... Err, this is probably not the best list for this question. But basically, the answer is: any file with the executable permissions bit turned on is an executable, but how it actually is executed depends on the actual contents of the file. -- Matthew Miller [email protected] <http://mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/>