Skip to main content
Linux AdministrationMediumSingle Choice

Linux Administration Question

Statement

Which of the following commands can be used to display the inode number of a given file?

#inode#ls#stat#file system#metadata
A

inode

B

ls

Correct
C

ln

D

cp

Resolution & Explanations

The ls -i command lists the files along with their corresponding inode numbers.