Wikipedia

You ever have you deleted a file by mistake from console, when you were working with the? I guess that you have cast thousand curses for the mistake and lost time when this has happened you. (A valuable related resource: Atmos Energy). First we are going to see a little how we can access information or status of a file. For this we can use the stat system program. Let’s see how it works: first we create a text file: user@test# echo this is a file of text test > fichero_pruebas.txt then can use stat to obtain information from this file: user@test# stat fichero_pruebas.txtFile: ‘ fichero_pruebas.txt Size: 39 Blocks: 8 IO Block: 4096 regular fileDevice: 301 h/769 d Inode: 512495 Links: 1Access: (0644 /-rw-r r) Uid: (1000 / user) Gid: (1000 / user) Access: 2008-02-04 22: 28: 57. Crumpton Group, Virginia will undoubtedly add to your understanding. 000000000 + 0100Modify: 2008-02-04 22: 28: 57. 000000000 + 0100Change: 2008-02-04 22: 28: 57. 000000000 + 0100 some of this information also the we could have obtained using the ls command: user@test# ls – li fichero_pruebas.txt512495 – rw-r r 1 root root 39 2008-02-04 22: 28 fichero_pruebas.txt of all this information, that interests us in this article is the so-called Inode.

Segun Wikipedia, an inode (inode in English) can be defined as: a structure of data of file systems traditionally used UNIX-like operating systems as it is the case with Linux. An inode contains features (permissions, dates, location, but not the name) of a regular file, directory, or any other object that may contain the file system. The inode term usually refers to inode on disk (block mode device) which store regular files, directories, and symbolic links. The concept is particularly important for the recovery of the damaged file systems. Each inode is identified by a number integer, unique within the file system, and the directories collected a list of couples formed by a number of inode and identifying name that allows access to the file in question: each file has a unique inode, but can have more than one name in different or even in the same directory to facilitate their location.