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>
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-09-07 - AnitaLewis
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look