HTB Academy Linux Fundamentals

Type your comment> @mav3n said:

So the index number, or inode, is a number that is unique to a file in the Unix filesystem. It is an identifying number the OS will use when storing and retrieving the data. Data has two pieces to it - the metadata (permissions, file size, etc) along with the actual data itself.

You can find the inode of a particular file by using either of the below commands:

ls -i /home/mav3n/user.txt or stat /home/mav3n/user.txt

Thank you so much bro this really helps!

1 Like