Which command gives the time of last inode modification?

  1. ls -i

  2. ls -l

  3. ls -li

  4. ls-lc


Correct Option: D

AI Explanation

To answer this question, you need to understand the options given and their purpose in the context of file management.

Option A) ls -i - This option displays the inode number of each file or directory. It does not provide information about the time of last inode modification.

Option B) ls -l - This option displays detailed information about files and directories, including permissions, owner, group, size, and modification time. However, it does not specifically provide the time of last inode modification.

Option C) ls -li - This option combines the functionalities of options A and B. It displays the inode number along with detailed information such as permissions, owner, group, size, and modification time. However, it does not specifically provide the time of last inode modification.

Option D) ls -lc - This option displays the time of last modification of the file or directory in the long format. It does not specifically mention the term "inode modification," but it provides the relevant information.

Based on the given options, the correct answer is D) ls -lc. This option provides the time of last modification, which can be considered as the time of last inode modification.

Find more quizzes: