File - File

Undraw File Manager Re Ms29


A file is a logical representation of multiple block that can be accessed and manipulated at once by a program.

Generally, a file is stored in a durable in the sense that it remains available for programs to use after the current program has finished.

A file is also known;

This is also the unit of persistence (meaning that you can't delete a byte in a file, you need to delete a file)


There are three types of files:

  • Regular - Stores data (text, binary, and executable).
  • Directory - Contains information used to access other files.
  • Special - Defines a FIFO (first-in, first-out) file or a physical device. (Network) -


File System attributes

The metadata of a file are called file attributes.

Example of properties / file attributes from the Linux stat utility

File: `testFile.txt'
  Size: 4               Blocks: 8          IO Block: 4096   regular file
Device: ca02h/51714d    Inode: 2522975     Links: 1
Access: (0644/-rw-r--r--)  Uid: (  500/  oracle)   Gid: ( 1001/oinstall)
Access: 2015-09-15 13:50:26.000000000 +0200
Modify: 2015-09-15 12:43:18.000000000 +0200
Change: 2015-09-15 12:43:18.000000000 +0200


List of open files: see IO - Diagnostic/Monitoring

File handles (open file) are scarce, finite resources. Because they are loaded in memory, the maximum number of open file is always a parameter of the file system (Generally in the OS). You can them run out of them if you don't close in your application the stream (ie the in-memory file representation of a file) up properly, just like database connections.


See content type



File deletion is assumed to be atomic.

When a file is deleted, the deletion is performed on the file system database but not physically on the disk. The space is considered free to use.

Some application can then :

  • recover the deleted file
  • or remove them completely such as WipeFile (so that there is no way to undelete the files or reconstruct the file content)


The location of a file is given:

  • logically by its path but there is also other structure such as an inode
  • that the file system physically translate to an address on the file store



See binary file

Documentation / Reference

Discover More
A range request asks for a portion of the file

This is a method that lets you read a file in parallel and improve throughput.
A web resource is the data of the web

This articles shows what a web resource is, how to access it and how it's defined. Web resources is also known as web content. The most known web resource is an html page with its CSS and Javascript but...
Cpu Moore Law Transistor
Bit - Binary Data (Structure)

Binary Data is a computer file that contains binary data (0 or 1) Binary data may be described: at the bit level (base 2) at the byte level (base 2 - 8 bit) at the hexadecimal level (base 16)...
Browser / Web Api - File (Blob)

A file in the Javascript Browser Api (WebApi) is represented by a File object . The file object is a blob object that adds support for files on the user's system. When you use a HTML input...
Cryptography Software - gpg (GNU Privacy Guard)

gpg (GNU Privacy Guard, GPG or GnuPG) is a cryptographic software of the pgp class that permits to: sign and encrypt easily another sort of message or file. GnuPGGPGGNU Privacy GuardOpenPGPPGP ...
Card Puncher Data Processing
DOS - File

File in DOS. See ... in a for loop: the file name without extension. Fully Qualified Path Name See if exist statement See: ERASE Deletes one or more files. type...
Data System Architecture
Data - (Transaction|Action) Atomicity

An atomic action is one that effectively happens all at once. An atomic action cannot stop in the middle: it either happens completely, or it doesn't happen at all. No side effects of an atomic action...
Undraw File Manager Re Ms29
File (System, Transfer, Storage)

This section is based on the File data structure. A file is: a logical grouping of related data (at the cluster size) identified through a path managed through a file system transferred through...
Undraw File Manager Re Ms29
File - (File Store|Volume|Partition)

A file store is a volume or partition in which files are stored. For example, in a native (OS) file system, are considered file stores: on the Windows platform, c: or d: are file stores. On the...
Undraw File Manager Re Ms29
File - BaseName

A file / directory is located by its path. The base name is the last part of the path (ie the file name and its extension if any) With the copy and move file operation, the basename does not change by...

Share this page:
Follow us:
Task Runner