We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags
See BLT.

filename extension: Extra characters on the end of a filename, usually separated from the filename by a period as a delimiter.

Dos only allows one extension to a filename, Linux allows more than one. In general, filename extensions help to identify the content of the file for a user and for the operating system or application program. In dos / Windows, executable files are recognized by the operating system by their extension -- originally those extensions were .exe, .bat, and .sys, but there are now additional extensions which I can't recite (but help viruses propagate). (I can think of .dll, but I don't know that it fits quite within the normal meaning of an executable file -- it is a (dynamic) library file.) In Linux, executable files are not recognized by their extension, but instead based on their permissions? . This is considered more secure because, for example, simply loading a <filename>.exe to a Linux system does not make it executable -- the owner of the file must set the file permissions appropriately to make it executable. (Note that permissions could allow a file to be executable by the owner, the group (owner), or anybody (world).)

Examples:

  • <filename>.txt -- a file containing text (probably -- note that nothing prevents you or the system from specifying a misleading extension)
  • <filename>.txt,v -- an RCS / CVS history (version) file
  • <filename>.exe -- In dos, an executable file. In Linux it could be executable, but that depends on the permissions, not the extension.

Contributors

  • RandyKramer - 31 Jan 2002
  • <If you edit this page, add your name here, move this to the next line>
Topic revision: r3 - 07 Sep 2003 - 01:52:00 - AnitaLewis
 
TWIKI.NET
Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
See TWiki's New Look