word looked up : home / archive

 Computer file : File 

A file in a computer system is a sequence of bytes stored as a single unit, typically in a file system on a disk or a magnetic tape (but see note [2] below).

"File" is an abstract concept: what appears to be a single file from the point of view of software may in practice be stored as multiple fragments of data at different places on a disk (or even multiple disks).

Files are created by software and usually conform to a particular file format.

An important subclass of file is the "text file". A text file is a sequence of characters organized into lines (or "records") separated by line breaks. The preferred representation of line breaks differs among operating systems. For example, Mac OS uses 0x0d (carriage return), UNIX systems use 0x0a (line feed), Windows uses 0x0d followed by 0x0a, and VMS uses multiple text file types (including the 3 above) with its default being "variable length record" in which each record begins with a 16 bit integer length field specifying the number of characters in the record. To modify a text file, use a text editor. Some text editors can understand multiple systems' line break conventions.

The term "binary file" often refers to any file other than a text file. But note that ultimately even a binary file is just a collection of bits. To modify a binary file directly (that is, without using an application specific to the file format of that file), use a hex editor.

A "special file" is a file system object which is accessed as though it was a file, but the sequence of bytes or characters is supplied or consumed by another process such as a device driver or network interface.

A collection of files is called a folder or a directory.

Notes

  1. A collection of bytes in RAM isn't usually known as a file, unless it's stored in a RAM disk.
  2. Historically it was common for files to be defined as sequences of records. However this is now uncommon except on certain mainframe operating systems. On most systems, the application or a library creates the "record" abstraction from the byte stream according to the file format.

See also file extension.

Where lay two souls opprest, To him who sighed back, "Sad, my Love, am I!" And these two reft of rest. While their large-pupilled vision.html">vision swept the scene.html">scene there, Something fell sheer, and crashed, and from the floor While their large-pupilled vision swept the scene there, Which had stood on the mantel near, By the eyes of the countless dead who had smirked at it And its vague and vacant leer. As he looked, his bride like a moth skimmed forth, and kneeling Gathered the pieces under the moon.html">moon's sly ray, Till he entreated, hasting to where she was kneeling, As they retired. "Alas!" "Don't trouble, Love; it's nothing," the bridegroom said. "Or ever this evil pass!" And the Spirits Ironic laughed behind the wainscot, It's good.html">good.html">good," said the Spirits Ironic, "to tickle their minds And the Spirits of Pity sighed behind the wainscot, --"Oh; in brief, they will fade till old, - "But nought see.html">see we that asks for portents there? - That it fits all mortal mould." THE ROBIN When up aloft I see in pools And a happy bird Towards their brink And stoop, and drink, And chink and prink. When winter frost I search.html">search and search And most unhappy And snows still fall, No grief at all, Feathery ball! "I ROSE AND WENT TO ROU'TOR TOWN" With gaiety and good heart, That morning ere the moon was down With gaiety and good heart. When sojourn soon at Rou'tor.html">tor Town I strove that none should trace When sojourn soon at Rou'tor Town On him I'd loved so true .

 On wordlookup.net  

All is still licensed under the GNU FDL.
It uses material from the wikipedia.



logo

navig stuff

home
archive