Computing & Digital Codexery

Computer file

Last updated

A named collection of data that an operating system treats as a single unit is what defines a computer file.[1] The software that manages these units is referred to as a file system.[1]

Quick Facts

First use in computing
January 1940

Facts from the source article.

Key facts and history

The word "file" derives from the Latin filum ("a thread, string").[2] In February 1950, an RCA advertisement stated that results could be kept "on file".[3] In 1952, "file" denoted information stored on punched cards.[4] Some file systems do not support all of these operations.[5]

The term "file" in computing dates back to at least January 1940.[6] Programs can perform operations on a file such as creating, opening, reading, writing, deleting, closing, truncating, changing permissions, and allocating space.[5]

What the cited sources add

That report lists "file maintenance" as a 900-step routine.[7] The Unix File System account explains that ordinary files can contain text, data, or program information and are treated as one-dimensional arrays of bytes.[8] In Unix, a directory is implemented as a file that has one line for each item contained within it.[8] Each line in a Unix directory file contains only the name of the item and a numerical reference to its location.[8]

Unix special files represent input/output devices like terminals, disk drives, or printers.[8] A soft link in Unix is implemented as a directory file entry containing a pathname.[8]

References

  1. Wikipedia, "Computer file" (CC BY-SA 4.0), which cites: Recorded from 1525: "A string or wire, on which papers and documents are strung for preservation and reference. Later extended to various other appliances for h (original not read by us) en.wikipedia.org
  2. Wikipedia, "Computer file" (CC BY-SA 4.0), which cites: "Online Etymology Dictionary"; Recorded from 1525: "A string or wire, on which papers and documents are strung for preservation and reference. Later extended to various other appliances for h (original not read by us) en.wikipedia.org
  3. Wikipedia, "Computer file" (CC BY-SA 4.0), which cites: "Popular Science", Bonnier Corporation, February 1950, p. 96 (original not read by us) en.wikipedia.org
  4. Wikipedia, "Computer file" (CC BY-SA 4.0), which cites: Robert S. Casey, et al. Punched Cards: Their Applications to Science and Industry. 1952. (original not read by us) en.wikipedia.org
  5. Wikipedia, "Computer file" (CC BY-SA 4.0), which cites: fallocate(1) (original not read by us) en.wikipedia.org
  6. Wikipedia, "Computer file" (CC BY-SA 4.0), which cites: Eckert, "Punched card methods in scientific computation", The Thomas J. Watson Astronomical Computing Bureau, Columbia University, 1940; Comrie, "On the Construction of Tables by Interpolation (Plate 6)", Monthly Notices of the Royal Astronomical Society, 1928-04-13, p. 506–523 (original not read by us) en.wikipedia.org
  7. Martin H. Weik. Ballistic Research Laboratories Report #1115. March 1961. pp. 314–331 .. facts only, no text reused. ed-thelen.org
  8. "The Unix File System", fsl.fmrib.ox.ac.uk. facts only, no text reused. fsl.fmrib.ox.ac.uk

Each numbered sentence above was checked against the source it cites before publication. Sentences citing Wikipedia adapt text from the English Wikipedia article Computer file (contributors), used under CC BY-SA 4.0; this entry is available under the same licence. Other sources were used for facts only; no text or images are copied from them.

More in Computing & Digital

Sources

Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →