Linux Foundation Certified System Administrator (LFCS) — Question 44

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

Answer options

Correct answer: B

Explanation

The 'ls' command, when used with the '-i' option, can display the inode number of a file. The other commands, such as 'inode', 'ln', and 'cp', do not provide the functionality to show inode numbers directly and serve different purposes in file management.