Exam LFCS All QuestionsBrowse all questions from this exam
Question 109

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

    Correct Answer: B

    The command 'ls' with the '-i' option can be used to display the inode number of a given file. Using 'ls -i' or 'ls --inode' will list files along with their inode numbers.

Discussion
IvandragoOption: B

ls -i. correct

rhylosOption: B

correct. Use ls -i , --inode to print the index number of each file