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
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
Hi!
I used the two commands to get the number, and I got to the same number, the problem is that when trying to answer the question it tells me that the answer is wrong … what could be happening?.
Edit:
I check the number of the sudoers in a target machine
Hi!
I used the two commands to get the number, and I got to the same number, the problem is that when trying to answer the question it tells me that the answer is wrong … what could be happening?.
Edit:
I check the number of the sudoers in a target machine
Chances are high that it has a different index number on each different machine.
yes ! first you must spawn your ssh target .
SSH with the IP addres with user “htb-student” and password "that is given to and than search for that machine ls -i /etc/sudoers/ or stat /etc/sudoers/
Hello this answer is correct but the problem is HTB Academy VM is updated but the questions are looking answers according to old VM based on which they made questions and thats the reason everyone is getting error of wrong answer