CompTIA Linux+ Powered by LPI (LX0-103) — Question 41

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

Answer options

Correct answer: B

Explanation

The correct answer is B, as the 'ls' command with the '-i' option can display the inode number of files. The other options do not provide this functionality; 'inode' is not a command, 'ln' is used for creating links, and 'cp' is for copying files.