101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 81


Which of the following commands can be used to display the inode number of a given file? (Choose two.)

Show Answer
Correct Answer: CE

To display the inode number of a given file, you can use the 'ls' command with the '-i' option, which shows the inode number along with the file name. You can also use the 'stat' command, which provides detailed information about the file, including its inode number. Therefore, the correct commands are 'ls' and 'stat'.

Discussion

4 comments
Sign in to comment
GuillemOptions: CE
Apr 22, 2021

correct. ls -i & stat

CuriousLinuxCat
Jul 24, 2021

Agreed.

TedMOptions: CE
Apr 21, 2022

Affirmative CE

LazylinuxOptions: CE
Apr 22, 2022

ls -i filename and stat filename

Jack67Options: CE
May 24, 2023

ls -i ist correct