?
Which of the following commands is used to obtain a list of all files by modification time?
Answer & Solution
Correct Answer:
Option
B
In Unix, the ls command is used to list directory contents. The -t option with ls is used to sort files by modification time, showing the most recently modified files first.
So, ls -t is the command used to obtain a list of all files sorted by modification time.
So, ls -t is the command used to obtain a list of all files sorted by modification time.
Join the Discussion
Login to post a comment or share your explanation.
Login