inode Number in Linux
This is the #90DaysofDevops challenge under the guidance of Shubham Londhe sir.
What is the inode number in Linux?
the inode is a data structure that contains information about files that are created when a files system is created. Each file has an inode and is identified by an inode number in the file system.
What information will be stored in the inode?
Owner and Group Owner of the file.
File Type
Permissions on the file
Date and Time of creation, last read, and change.
Date and Time this information has been changed in the inode.
Number of links to this file.
File Size.
For example how to check the inode number, using ls -li we can get the inode numbers and the first column refers to the inode number.
Interview Question:
Storing the information in the inode doesn't contain or hold information about the File Name.
Please, feel free to drop any questions in the comments below. I would be happy to answer them.
If this post was helpful, please follow and share it with others.
Thank you for reading💚
Rahul Naik